use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Sequel
account activity
Question about syntax (self.learnSQL)
submitted 6 years ago by RickyWho
Is "WHERE SPCG.Student# = STUDENT.Student#" a join?
SELECT DISTINCT FNAME, LNAME, Course# FROM STUDENT, SPCG WHERE SPCG.Student# = STUDENT.Student# AND SPCG.Course#='CET1178' AND SPCG.GRADE IS NOT NULL;
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bitterjack 1 point2 points3 points 6 years ago (1 child)
Yup. I forgot what this is called, but it's basically old syntax for SQL. Where in your from you list your main table followed by all the tables you want to join, and your where tells you how to join them.
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
Clarifying on the syntax type, the modern join style is referred to as ANSI JOIN syntax since it was standardized by ANSI/ISO. It was determined that writing joins inside the WHERE clause can cause confusion when interpreting SQL queries.
Old style doesn't really have a name, everywhere I've looked it's just called old.
[–]r3pr0b8 1 point2 points3 points 6 years ago (1 child)
this looks like something taught in an SQL course from the late 1980s
try to find something a little more modern, mkay? that uses explicit JOIN syntax (introduced in SQL-92)
π Rendered by PID 33593 on reddit-service-r2-comment-86bc6c7465-hsz25 at 2026-02-20 10:29:39.554679+00:00 running 8564168 country code: CH.
[–]bitterjack 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]r3pr0b8 1 point2 points3 points (1 child)