<?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: Jack McClelland</title>
    <description>The latest articles on DEV Community by Jack McClelland (@jackmcclelland).</description>
    <link>https://dev.to/jackmcclelland</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F511098%2F49ba5d51-1cef-4068-8716-862fe943ba08.jpeg</url>
      <title>DEV Community: Jack McClelland</title>
      <link>https://dev.to/jackmcclelland</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jackmcclelland"/>
    <language>en</language>
    <item>
      <title>Detailed template for running a virtual pitch competition</title>
      <dc:creator>Jack McClelland</dc:creator>
      <pubDate>Wed, 06 Jan 2021 18:25:25 +0000</pubDate>
      <link>https://dev.to/jackmcclelland/detailed-template-for-running-a-virtual-pitch-competition-15hf</link>
      <guid>https://dev.to/jackmcclelland/detailed-template-for-running-a-virtual-pitch-competition-15hf</guid>
      <description>&lt;p&gt;&lt;a href="https://twitter.com/jackmmcclelland/status/1346870108774232065"&gt;Check out a post I wrote detailing the exact steps&lt;/a&gt; the Contrary Boston team took in planning and running our Boston-wide virtual pitch competition in December.&lt;/p&gt;

&lt;p&gt;You could use this as inspiration / a template for future virtual pitch competitions, hope it's useful!&lt;/p&gt;

&lt;p&gt;Background: Contrary's pitch competition had a couple hundred RSVP's / live attendees, and pitch applications were open to university students and recent alumni (less than two years out of undergraduate and graduate school) from schools in the Boston area. Judges included Jamie Goldstein (Founding Partner @ Pillar VC), Christina Qi (CEO @ Databento), Paul English (Founder &amp;amp; CTO @ Lola.com and KAYAK), and Alexandra Sukin (Investor @ Bessemer). Read more about the ten finalists here.&lt;/p&gt;

</description>
      <category>startup</category>
      <category>tutorial</category>
      <category>career</category>
    </item>
    <item>
      <title>SQL Cheat Sheet: Top 10 Most Important SQL Commands To Know</title>
      <dc:creator>Jack McClelland</dc:creator>
      <pubDate>Tue, 10 Nov 2020 23:20:48 +0000</pubDate>
      <link>https://dev.to/jackmcclelland/sql-cheat-sheet-top-10-most-important-sql-commands-to-know-78h</link>
      <guid>https://dev.to/jackmcclelland/sql-cheat-sheet-top-10-most-important-sql-commands-to-know-78h</guid>
      <description>&lt;p&gt;As companies and organizations find themselves dealing with rapidly increasing amounts of data, there's a growing need for developers to effectively use databases to handle this data. SQL, which stands for Structured Query Language, is a programming language that helps manage data stored in relational databases (a popular type of database).&lt;/p&gt;

&lt;p&gt;SQL commands can help a developer create tables, add and modify data in these tables, search the database, and more. This article will cover a list of ten basic SQL commands that are essential to know for developers working with SQL. You'll find for each SQL command a code snipped and brief description of what the code runs.&lt;/p&gt;

&lt;p&gt;Whether you're a beginner or a pro at SQL, consider trying out &lt;strong&gt;&lt;a href="http://arctype.com/" rel="noopener noreferrer"&gt;Arctype&lt;/a&gt;&lt;/strong&gt;, a redesigned SQL client for PostgreSQL and MySQL developers and teams. It's free, fast, and easy-to-use: &lt;a href="http://arctype.com/" rel="noopener noreferrer"&gt;http://arctype.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqlwz4hz5udjca15plgai.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqlwz4hz5udjca15plgai.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's get right into it!&lt;/p&gt;




&lt;h2&gt;
  
  
  CREATE TABLE
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CREATE TABLE table_name (
  column_1 datatype_1, 
  column_2 datatype_2, 
  column_3 datatype_3
);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command allows you to create a new database or table; the example above adds a new table with a title and column names.&lt;/p&gt;

&lt;h2&gt;
  
  
  ALTER TABLE
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ALTER TABLE table_name 
ADD column_name datatype;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run this command to modify (add, drop, rename, etc) the structure (not the data) in your database; the example above adds a new column to a table with a specified datatype.&lt;/p&gt;

&lt;h2&gt;
  
  
  DELETE
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DELETE FROM table_name
WHERE some_condition = some_value;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command can delete data from your table based on conditions specified with the WHERE keyword.&lt;/p&gt;

&lt;h2&gt;
  
  
  DROP
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;DROP TABLE table_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Similar to the create command, DROP deletes a database or table. Be careful when using this command – the code above will delete your whole table, including all data, indexes, and more.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ALTER TABLE table_name DROP COLUMN column_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The ALTER TABLE and DROP statement above will remove a specific column from a table.&lt;/p&gt;

&lt;h2&gt;
  
  
  INSERT INTO
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;INSERT INTO table_name (column_1, column_2, column_3) 
VALUES (value_1, value_2, value_3);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To add new records to your table, use the INSERT INTO command. You can use this command on one or more rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  SELECT
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name 
FROM table_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every query begins with SELECT; this is how you grab data from your database. It's the most fundamental SQL query. After the SELECT command, you can use the keyword FROM to specify a table, the keyword WHERE to select with conditions, and the keyword ORDER BY to sort your results.&lt;/p&gt;

&lt;h2&gt;
  
  
  UPDATE
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;UPDATE table_name
SET some_column = some_value
WHERE some_column = some_value;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command lets you edit data in your table by updating data based on conditions specified after the WHERE keyword.&lt;/p&gt;

&lt;h2&gt;
  
  
  AS
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name AS 'Alias'
FROM table_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The AS keyword allows you to use a temporary alias when referring to a column or table.&lt;/p&gt;

&lt;h2&gt;
  
  
  COUNT
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT COUNT(column_name)
FROM table_name;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the COUNT() function to add up the number of rows where the specified column is not NULL.&lt;/p&gt;

&lt;h2&gt;
  
  
  BETWEEN
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SELECT column_name(s)
FROM table_name
WHERE column_name BETWEEN value_1 AND value_2;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This operator filters the results to be within a specified range (numbers, text, dates, etc).&lt;/p&gt;




&lt;p&gt;These building blocks will get you started programming with SQL, which is a great language useful and definitely worth learning in 2020. Check out the &lt;a href="https://insights.stackoverflow.com/survey/2020" rel="noopener noreferrer"&gt;StackOverflow Developers Survey 2020&lt;/a&gt;, where 65k developers answered questions about the programming languages and tools they run: SQL was top three in the most popular technologies question!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F5elzpjpubwfj2pl2c1cg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F5elzpjpubwfj2pl2c1cg.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're curious you can check out the rest of the results of the survey here at the URL here: &lt;a href="https://insights.stackoverflow.com/survey/2020" rel="noopener noreferrer"&gt;https://insights.stackoverflow.com/survey/2020&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Database programming languages are popular and have active developer communities, and are becoming increasingly important as organizations seek to process the thousands of terabytes of data generated each day. If you're working with databases in SQL or are planning on doing so, check out the newly-designed &lt;strong&gt;&lt;a href="http://arctype.com/" rel="noopener noreferrer"&gt;Arctype&lt;/a&gt;&lt;/strong&gt; SQL client. It's faster and easier-to-use than many of the clients out there right now and is designed with your needs in mind as a modern developer.&lt;/p&gt;

&lt;p&gt;Thanks for checking out my article covering these ten basic SQL commands! Let me know if you have any questions, or would like me to write a follow-up post with more intermediate SQL commands to check out.&lt;/p&gt;

&lt;p&gt;(&lt;a href="https://blog.arctype.com/sql-cheat-sheet-top-10-most-important-sql-commands-to-know/" rel="noopener noreferrer"&gt;Originally posted here.&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Happy coding!&lt;/p&gt;

</description>
      <category>sql</category>
      <category>database</category>
      <category>beginners</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
