SQL BASIC

SQL BASIC

12th Grade

35 Qs

quiz-placeholder

Similar activities

sql quiz for class 11 & 12 2022 vaishali lamba

sql quiz for class 11 & 12 2022 vaishali lamba

11th - 12th Grade

33 Qs

DATABASE QUIZ

DATABASE QUIZ

9th - 12th Grade

35 Qs

Basis Data-BOT

Basis Data-BOT

12th Grade

40 Qs

Database - Full Quiz

Database - Full Quiz

8th - 12th Grade

41 Qs

Database

Database

KG - University

35 Qs

Database - Half-Term Assessment

Database - Half-Term Assessment

12th Grade

40 Qs

ICT QUIZZ

ICT QUIZZ

12th Grade

40 Qs

CS my SQL without functions

CS my SQL without functions

12th Grade

40 Qs

SQL BASIC

SQL BASIC

Assessment

Passage

Computers, Other

12th Grade

Medium

Created by

Jayasree Venkateswaran

Used 1+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To remove a record from a table, which SQL statement would you use?

REMOVE

DELETE

CANCEL

ERADICATE

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

I want to create a table in my table named "actors" with two columns: "name" and "age." What statement will do this?

CREATE TABLE actors (name varchar(10), age INT);

CREATE actors WITH COLUMNS (name, age);

CREATE DATABASE actors WITH COLUMNS (name string(10), age INT);

CREATE actors (name, age): TABLE, TEXT, INTEGER;

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

I want to select all columns in my "actors" table for all actors. How can I do that?

SELECT * FROM actors;

SELECT age FROM actors;

SELECT * FROM actors WHERE age > 30;

SELECT name, age FROM actors WHERE age < 30;

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

I want to add the actor "Brad Pitt" (aged 56) to my table "actors." Which statement will do this?

INSERT INTO actors VALUES ("Brad Pitt", 56);

INSERT "Brad Pitt" AND 56 INTO actors;

UPDATE age = 56 WHERE name = "Brad Pitt";

CREATE ENTRY ("Brad Pitt", 56) IN TABLE actors;

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a database for an online shopping company, all the information about a single customer would be stored as a ...

Field

Record

Relationship

Table

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a database for an online shopping company, all the customer information would be stored as a ...

Field

Record

Relationship

Table

7.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Media Image

In the table shown, which field is likely to be the primary key?

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?