Search Header Logo

SQL BASIC

Authored by Jayasree Venkateswaran

Computers, Other

12th Grade

Used 1+ times

SQL BASIC
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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?

Access all questions and much more by creating a free account

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?