SQL BASIC

SQL BASIC

12th Grade

35 Qs

quiz-placeholder

Similar activities

Web Offline Grade 12

Web Offline Grade 12

12th Grade

35 Qs

College & Career Ready

College & Career Ready

9th - 12th Grade

34 Qs

Bài 8_Lớp 12_Truy vấn DL(Mẫu hỏi)

Bài 8_Lớp 12_Truy vấn DL(Mẫu hỏi)

12th Grade

32 Qs

Try Out UN Ke 1 OTKP

Try Out UN Ke 1 OTKP

12th Grade

40 Qs

Excel 2016 2nd 9 wks Final Exam Review 4th hr

Excel 2016 2nd 9 wks Final Exam Review 4th hr

9th - 12th Grade

35 Qs

Unit 1 Pregnancy

Unit 1 Pregnancy

9th - 12th Grade

34 Qs

mapelku a

mapelku a

12th Grade

40 Qs

Bahasa Inggris

Bahasa Inggris

12th Grade

40 Qs

SQL BASIC

SQL BASIC

Assessment

Passage

Computers, Other

12th Grade

Practice Problem

Medium

Created by

Jayasree Venkateswaran

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?