SQL Flashcards
What does SQL stand for?
Structured Query Language
What is a database?
A database is a persistent store of data.
What does SQL allow you to do?
it is a language which allows you to create, query and add data to databases.
Can SQL queries be used in high level programming languages?
Yes, they can be used in languages such as Python and C#
What are the three SQL syntax for querying a database?
SELECT (list the fields to be displayed)
FROM (specify the table name)
WHERE (list the search criteria)
MUST ALL BE IN CAPITALS.
What is a wild card?
All columns.
What are the three main operators in word form?
AND, OR, NOT
What does the Operator BETWEEN mean?
Searches between a inclusive range,
What does the operator LIKE do?
Searches for a pattern.
What does ORDER BY allow you to do?
Allows a query to sort data by ascending or descending order.
What are the commands for Ascending order or Descending Order?
Ascending = ASC Descending = DESC