Leadership Lessons from Teaching SQL

Last week, I had the opportunity to teach SQL (Structured Query Language) to 14 middle and high school students in our homeschool co-op. I use my company’s Volunteer Time Off program to make this possible.

In a previous article, I shared how I helped one of my students repair his broken laptop with a soldering pencil. If you missed that article, check it out here.

I am teaching a digital literacy course, which covers a wide variety of subjects. Just a few weeks prior, I taught the students how to use Excel. Now we were diving into SQL. I knew it would be a big jump and I didn’t know how they would handle it.

I used our brief classroom time to teach basic concepts about relational database systems, share the terminology, and give some hands-on experience with a SQL interpreter. For our class, we used sql.js hosted publicly on AWS here.

Just so the students could see how it all worked, I provided them with sets of statements to copy and paste into the command line. The hour flew by fast and before I knew it, we were out of time.

This was our first lesson involving a programing language. Just before I dismissed the class, I asked them what they thought of their first exposure to coding.

One of my students said, “It was mostly just copy/paste.” I responded, “You have no idea how accurate that observation truly is.”

Debugging the homework

I gave each of my students a homework assignment. They needed to create their own tables in a database based on certain requirements, but I didn’t provide the code. They also needed to write several queries against the database to return certain result sets and display the data in different ways.

They had been taught the commands. They had seen them work. Now they had to write them by hand for the first time. I heard from several students that what took them minutes in class was taking them hours at home. Why was this the case? Debugging.

Computers are incredibly literal. They don’t care what you mean. They will execute exactly what you tell them to execute. The most common problems were syntax errors, typos, and case sensitivity issues.

In our modern world, communication through technology requires much less precision. We voice-text. We autocorrect. We use Grammarly on our blog posts. Even if the technology mangles our message a bit, the human on the receiving end usually knows what we mean.

I knew that writing computer code and dealing with this requirement for precision would frustrate some, but to my delight, most of the students enjoyed the challenge and were hungry for more.

Clarity

This caused me to reflect on my own leadership communication. In the workplace, many effectively communicate with each other through a variety of informal styles with good success. Familiarity and relationship will fill in the gaps, and intent will be well-preserved.

I’ve come to believe that leadership communication in the workplace is more like a software engineer working with a SQL interpreter, than a voice-text chain among friends.

Everyone in a leadership position has experienced this: Sometimes your team members take your communicated statements very literally. Too literally. They completely miss the point. And then you need to deal with the fallout. Why is that?

The leader-follower relationship in the workplace is more formal. Like software engineers, leaders need to be more careful with their language. If they don’t, then their communication will blow up, just like bad code pushed to production. They will need to figure out what went wrong like a software engineer staring at a debugger at 3 AM hopped up on Red Bull.

I’ve always believed that engineers make good leaders. Perhaps the skill of code precision prepares them well for the leadership task of clear communication.

I hope you’ve enjoyed this story. After 23 years in the technology profession, it’s eye-opening to see how young students experience it for the first time. As always, I hope you can apply this lesson to your leadership practice and share it with your colleagues.

Read this article on my blog site or listen to it on my podcast🎙️

--

--

--

Technology Leader at CHS. Passionate about leadership and innovation. Posts are my own.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How I spoke at Harvard, Upenn, and Cornell despite having 0 credibility

How To Make Sure You’re Listened To

Sixteen Amazing Tips for Interview

A Positive Word About the Behemoth We Love to Hate but Mostly Just Love to Use

Amazon logo on white screen of diagonally placed Samsung Phone.

When Should I Start Looking For Office Space? https://t.co/mVcV54Ig3u

People Aren’t Well-Rounded, but Teams Can Be

How to make Mistakes at your Career

“From Avocation To Vocation: How I Turned My Hobby Into A Career” With Kelan Kline

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zach Hughes

Zach Hughes

Technology Leader at CHS. Passionate about leadership and innovation. Posts are my own.

More from Medium

10 Things To Know For An Amazing Career in Big Data

How To Become a Successful Big Data Analyst?

Lean software development, reporting and visualising lead and cycle time

Managing WFH Team Chemistry

⛔ Mistakes you should avoid in Resume