SQL

Description

1 Database Flashcards on SQL, created by linneamd on 15/03/2016.
linneamd
Flashcards by linneamd, updated more than 1 year ago
linneamd
Created by linneamd about 8 years ago
3
1

Resource summary

Question Answer
What does an asterisk (*) do? An asterisk (*) in the select clause denotes “all attributes”
What does DISTINCT do? SQL allows duplicates in relations as well as in query results. To force the elimination of duplicates, insert the keyword DISTINCT after select.
What does ALL do? The keyword ALL specifies that duplicates will not be removed.
What does FROM do? It lists the relations to be scanned when evaluating the whole SELECT expression.
What does AS do? The SQL mechanism for renaming relations and attributes is accomplished through the AS clause: old-name AS new-name
What does % do? The % character matches any substring.
What does _ do? The _ character matches any character.
Show full summary Hide full summary

Similar

FLAT FILE VS RELATIONAL DATABASE
rosiejones
SQL Quiz
Chris Cronin
Midterm 2 (Chapter 5 - 13)
Yorria Raine
Database Final Exam
dbm
Databaser - Introduksjon
B K
OCR gcse computer science
Jodie Awthinre
GCSE AQA Computer Science - Definitions
James Jolliffe
Midterm 1
Yorria Raine
SQL Quiz
R M
SQL 1: Databases (Module 3)
aries cantos
Managing Digital Data Review
Shannon Anderson-Rush