FlashKeepers

Computer Science · College · College and University

Database Systems, Unit 2: SQL Fundamentals

Database Systems, unit: SQL Fundamentals. Core concepts, terminology, and worked-example cues a college student meets for this unit, building on prior units without repeating them. Front: a term, concept, or short problem cue. Back: the definition, explanation, or answer.

About this set

37 basic cards for College Computer Science. Set 2 of 8 in Database Systems. It opens with "What is SQL?" and "What does the SELECT statement do?". Study it alongside the other College sets below.

37 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is SQL?
Show answerStructured Query Language, used to define, manipulate, and query relational databases
What does the SELECT statement do?
Show answerRetrieves data from one or more tables
What does the WHERE clause do?
Show answerFilters rows based on a specified condition
What does the INSERT statement do?
Show answerAdds new rows of data into a table
What does the UPDATE statement do?
Show answerModifies existing data in a table
What does the DELETE statement do?
Show answerRemoves rows from a table
What does the CREATE TABLE statement do?
Show answerDefines a new table and its columns
What is a JOIN used for?
Show answerCombining rows from two or more tables based on a related column
What is an INNER JOIN?
Show answerA join that returns only rows with matching values in both tables
What is a LEFT JOIN?
Show answerA join that returns all rows from the left table, with matches from the right table or nulls
What does the GROUP BY clause do?
Show answerGroups rows sharing a value into summary rows
What does the ORDER BY clause do?
Show answerSorts the result set by one or more columns
What is an aggregate function?
Show answerA function that performs a calculation on multiple rows, such as COUNT, SUM, or AVG
What does the HAVING clause do?
Show answerFilters groups after aggregation, similar to WHERE for individual rows
What is a subquery?
Show answerA query nested inside another query

22 more cards in the app

Study this set free