<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jasmine Charmaine Duenas</title>
    <description>The latest articles on DEV Community by Jasmine Charmaine Duenas (@jaszzduenas).</description>
    <link>https://dev.to/jaszzduenas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4032998%2Fedaaa788-27f8-40ab-80fe-5f83b5321d7d.jpg</url>
      <title>DEV Community: Jasmine Charmaine Duenas</title>
      <link>https://dev.to/jaszzduenas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jaszzduenas"/>
    <language>en</language>
    <item>
      <title>I Spent Three Days Writing 2,000 SQL INSERT Statements (Because I Didn't Know Better)</title>
      <dc:creator>Jasmine Charmaine Duenas</dc:creator>
      <pubDate>Fri, 17 Jul 2026 03:38:17 +0000</pubDate>
      <link>https://dev.to/jaszzduenas/i-spent-three-days-writing-2000-sql-insert-statements-because-i-didnt-know-better-1d56</link>
      <guid>https://dev.to/jaszzduenas/i-spent-three-days-writing-2000-sql-insert-statements-because-i-didnt-know-better-1d56</guid>
      <description>&lt;p&gt;There are beginner mistakes.&lt;/p&gt;

&lt;p&gt;Then there are &lt;strong&gt;"I spent three days doing the wrong thing"&lt;/strong&gt; mistakes.&lt;/p&gt;

&lt;p&gt;This is one of mine.&lt;/p&gt;

&lt;p&gt;When I first joined a company as a trainee, I was excited... and completely unprepared for real-world software development.&lt;/p&gt;

&lt;p&gt;Back in college, our web development classes mostly covered HTML and CSS. We did touch a bit of programming, but if I'm being honest, many of our projects involved copying code, tweaking a few lines, and hoping everything still worked. I graduated knowing &lt;em&gt;how to make things look nice&lt;/em&gt;, but not necessarily how professional development teams solved problems.&lt;/p&gt;

&lt;p&gt;Reality hit pretty quickly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Our First Task
&lt;/h2&gt;

&lt;p&gt;A few days into training, my friend and I were assigned our first real task by our senior team lead.&lt;/p&gt;

&lt;p&gt;He gave us an Excel file.&lt;/p&gt;

&lt;p&gt;It had &lt;strong&gt;two sheets&lt;/strong&gt;, each with roughly &lt;strong&gt;1,000 rows&lt;/strong&gt; of data. Every row had around &lt;strong&gt;7 to 10 columns&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Then he said something like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Import all of this into the database."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Simple enough... right?&lt;/p&gt;

&lt;p&gt;Well...&lt;/p&gt;

&lt;p&gt;Neither of us had ever imported data into a database before.&lt;/p&gt;

&lt;h2&gt;
  
  
  Asking the Wrong Person
&lt;/h2&gt;

&lt;p&gt;Instead of asking our team lead for clarification, we asked another trainee who happened to be our former classmate.&lt;/p&gt;

&lt;p&gt;His advice?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Just make an &lt;code&gt;INSERT INTO&lt;/code&gt; script."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Perfect.&lt;/p&gt;

&lt;p&gt;Say no more.&lt;/p&gt;

&lt;p&gt;Without questioning it, my friend and I started generating SQL &lt;code&gt;INSERT&lt;/code&gt; statements.&lt;/p&gt;

&lt;p&gt;One row.&lt;/p&gt;

&lt;p&gt;After another.&lt;/p&gt;

&lt;p&gt;After another.&lt;/p&gt;

&lt;p&gt;And another.&lt;/p&gt;

&lt;p&gt;By the end, we had spent almost &lt;strong&gt;three days&lt;/strong&gt; creating what felt like an endless wall of SQL.&lt;/p&gt;

&lt;p&gt;At the time, we were actually proud of ourselves.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Look at us. Future software engineers."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Looking back...&lt;/p&gt;

&lt;p&gt;We were basically expensive copy-paste machines.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Reality Check
&lt;/h2&gt;

&lt;p&gt;Our senior team lead eventually came over to check our progress.&lt;/p&gt;

&lt;p&gt;He looked at our SQL file for a few seconds.&lt;/p&gt;

&lt;p&gt;Then smiled and said:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"You tricked me, huh? That's not what I meant."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;My friend and I just stared at him.&lt;/p&gt;

&lt;p&gt;Confused.&lt;/p&gt;

&lt;p&gt;We thought,&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"But... the data is going into the database. Mission accomplished, right?"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Wrong.&lt;/p&gt;

&lt;p&gt;What he actually wanted was a &lt;strong&gt;CakePHP script&lt;/strong&gt; that would read the spreadsheet and insert all the records automatically.&lt;/p&gt;

&lt;p&gt;Not thousands of manually written SQL statements.&lt;/p&gt;

&lt;p&gt;A proper solution.&lt;/p&gt;

&lt;p&gt;One that could be reused if another spreadsheet arrived tomorrow.&lt;/p&gt;

&lt;p&gt;That's when it clicked.&lt;/p&gt;

&lt;p&gt;He wasn't testing whether we knew SQL.&lt;/p&gt;

&lt;p&gt;He was testing whether we could &lt;strong&gt;solve the problem like developers&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lesson I Didn't Learn in College
&lt;/h2&gt;

&lt;p&gt;That experience taught me something I still carry into every project today.&lt;/p&gt;

&lt;p&gt;As developers, our job isn't just to make something work.&lt;/p&gt;

&lt;p&gt;Our job is to build solutions that are maintainable, repeatable, and efficient.&lt;/p&gt;

&lt;p&gt;If I received the same task today, I'd probably:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Parse the Excel file.&lt;/li&gt;
&lt;li&gt;Validate the data.&lt;/li&gt;
&lt;li&gt;Use batch inserts or an ORM.&lt;/li&gt;
&lt;li&gt;Handle duplicate records.&lt;/li&gt;
&lt;li&gt;Log any failed rows.&lt;/li&gt;
&lt;li&gt;Make the import reusable for future uploads.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Back then?&lt;/p&gt;

&lt;p&gt;My strategy was basically:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"If there's another row... write another &lt;code&gt;INSERT&lt;/code&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Technically correct.&lt;/p&gt;

&lt;p&gt;Professionally questionable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking Back
&lt;/h2&gt;

&lt;p&gt;I don't cringe at this story anymore.&lt;/p&gt;

&lt;p&gt;I laugh.&lt;/p&gt;

&lt;p&gt;Because every developer has one of these moments.&lt;/p&gt;

&lt;p&gt;Maybe you deployed directly to production.&lt;/p&gt;

&lt;p&gt;Maybe you accidentally deleted a database.&lt;/p&gt;

&lt;p&gt;Maybe you forgot a semicolon and spent two hours debugging.&lt;/p&gt;

&lt;p&gt;Mine just happened to involve writing enough SQL statements to make my text editor question my life choices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;One thing I've learned after working as a full-stack engineer is that &lt;strong&gt;experience changes how you approach problems&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The biggest difference between a beginner and an experienced developer usually isn't knowing more syntax.&lt;/p&gt;

&lt;p&gt;It's knowing &lt;strong&gt;when to stop and ask, "Is there a better way to solve this?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So if you're just starting your programming journey, don't be embarrassed by your mistakes.&lt;/p&gt;

&lt;p&gt;Years from now, they'll probably become your favorite stories to tell.&lt;/p&gt;

&lt;p&gt;And who knows?&lt;/p&gt;

&lt;p&gt;One day you'll be the senior developer trying very hard not to laugh while a trainee proudly shows you &lt;strong&gt;2,000 manually written SQL &lt;code&gt;INSERT&lt;/code&gt; statements&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>career</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
