Quiz
Database Design 5
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (25)
1How to select all data from student table starting the name from letter ‘r’?
- ASELECT * FROM student WHERE name LIKE ‘%r%’;
- BSELECT * FROM student WHERE name LIKE ‘%r’;
- CSELECT * FROM student WHERE name LIKE ‘r%’;
- DSELECT * FROM student WHERE name LIKE ‘_r%’;
2Which of the SQL statements is correct?
- ASELECT Username AND Password FROM Users
- BSELECT Username, Password WHERE Username = ‘user1’
- CSELECT Username, Password FROM Users
- DNone of the given
3Which of the following SQL statements deletes all rows in table called SalesData?
- ADELETE SalesData
- BDELETE * FROM SalesData
- CDELETE FROM SalesData
- DDELETE ALL SalesData
4Which of the following SQL statements will select all records with all their columns from a table called Sales?
- ASELECT * FROM SALES WHERE OrderID < 1;
- BSELECT * FROM Sales
- CDELETE FROM Sales
- DDELETE * FROM Sales
5What will be the result of the following SQL statement SELECT * FROM Table1 HAVING Column1 > 10?
- AThe result will be all rows from Table1 which have Column1 values greater than 10.
- BThe result will be empty data set.
- CThe SQL statement will generate an error.
- DNone of the given
6Which of the following is NOT a relational algebra operators used in basic queries?
- ASelect
- BLocate
- CProject
- DJoin
7What is the keyword you would use before adding conditions to your query?
- AEQUALS
- BWHAT
- CCONDITIONS
- DWHERE
8The NULL SQL keyword is used to…
- ARepresent 0 value
- BRepresent a missing or unknown value. NULL in SQL represents nothing.
- CRepresent positive infinity
- DRepresent negative infinity
9Which of the following is a legal expression in SQL?
- ASELECT NULL FROM Employee;
- BSELECT name FROM Employee WHEN salary = NULL;
- CSELECT name FROM Employee;
- DNone of the given
10What does the following SQL statement do: SELECT Customer, COUNT(Order) FROM Sales GROUP BY Customer HAVING COUNT(Order) > 5?
- ASelects the total number of orders from the Sales table, if this number is greater than 5
- BSelects all customers from the Sales table
- CSelects all customers with number of orders from table Sales that have made more than 5 orders
- DNone of the given
11Which SQL statement will select all rows from a table called «Customers» and orders the result by «customer name»?
- ASELECT * FROM Customers ORDER ON customer_name;
- BSELECT * FROM Customers ORDER customer_name;
- CSELECT * FROM Customers ORDERED customer_name;
- DSELECT * FROM Customers ORDER BY customer_name;
12SQL query and data modification commands make up a(n) _______ .
- ADCL
- BDDL
- CDML
- DTCL
13To eliminate duplicate values in a column _____ is used
- AELIMINATE
- BNODUPLICATE
- CDISTINCT
- DNone of these
14Which of the following is an SQL aggregate function?
- AALTER
- BMIN
- CBETWEEN
- DCREATE
15Which of the following is an SQL aggregate function?
- ASELECT
- BJOIN
- CDISTINCT
- DAVG
16What type of join is needed when you wish to include rows that do not have matching values?
- AEqui-joins
- BNatural join
- COuter join
- DAll of the mentioned
17Which of the following is not DML statement?
- AUPDATE
- BINSERT
- CALTER TABLE
- DDELETE
18Which of the following is DML statement?
- ASELECT
- BCREATE TABLE
- CALTER TABLE
- DGRANT
19To define what columns should be displayed in an SQL SELECT statement:
- AUse FROM to name the source table(s) and list the columns to be shown after SELECT
- BUse USING to name the source table(s) and list the columns to be shown after SELECT
- CUse SELECT to name the source table(s) and list the columns to be shown after SUSING
- DUse USING to name the source table(s) and list the columns to be shown after WHERE
20You can add a row using SQL in a database with which of the following?
- AADD
- BCREATE
- CINSERT
- DMAKE
21Which of the following is considered as DBMS?
- AMS SQL Server
- BOracle
- CPostgreSQL
- DAll of these
22Which of the following is a valid SQL type?
- ANUMERIC
- BCHARACTER
- CDATE
- DAll of the given
23Which of the following SQL statements can be used to create a relational table?
- AADD
- BAPPEND
- CINSERT
- DCREATE
24A table that satisfies 2NF:
- AAlways satisfies 1NF
- BAlways satisfies 3NF
- CMay violate 1NF
- DNone
25An entity relationship diagram is a tool to represent:
- AProcess model
- BCustomer model
- CEvent model
- DData model
Informationen
- Beschreibung
- 75 questions from Kozina's file + 42 questions from known Midterm or Endterm tests screenshots
- Autor
- Bekinston Talgio
- Sprache
- English
- Aufrufe
- 1
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz