SQL Statements and Queries

SQL Statements and Queries

Professional Development

15 Qs

quiz-placeholder

Similar activities

KUIS DIGITAL AIS

KUIS DIGITAL AIS

Professional Development

10 Qs

Quality Assurance

Quality Assurance

Professional Development

10 Qs

bimtek kpps

bimtek kpps

Professional Development

20 Qs

FA Quizz

FA Quizz

Professional Development

20 Qs

Soal Bahasa Inggris dasar untuk guru SDIT Ahmad Yani Brebes

Soal Bahasa Inggris dasar untuk guru SDIT Ahmad Yani Brebes

Professional Development

10 Qs

iPhone Xs Max & OnePlus 6T

iPhone Xs Max & OnePlus 6T

Professional Development

11 Qs

Day 1 OQ Masar Review quiz

Day 1 OQ Masar Review quiz

Professional Development

12 Qs

Ice-Breaker Quiz Term 3!

Ice-Breaker Quiz Term 3!

Professional Development

10 Qs

SQL Statements and Queries

SQL Statements and Queries

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

AMO FSO GP2W

Used 44+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

What is the correct syntax of inserting to a database

INSERT INTO students (id, name, major) VALUES (1, 'Jane', 'Physics');

insert into students (id, name, major) values (1, 'Jane', 'Physics');

INSERT INTO students (id, name, major) VALUES (1, "Jane", "Physics");

INSERT INTO students (id, name, major) VALUES (1, 'Jane', 'Physics');

INSERT INTO students (id, name, major) VALUES (1, "Jane", "Physics");

2.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

What is the correct syntax when creating a primary key

CREATE TABLE Persons (   

ID INT NOT NULL,

LName VARCHAR(255),   

FName VARCHAR(255),

Age INT,

PRIMARY KEY (ID));

CREATE TABLE Persons (   

ID INT NOT NULL PRIMARY KEY,

LName VARCHAR(255),   

FName VARCHAR(255),

Age INT);

CREATE TABLE Persons (   

ID PRIMARY KEY,

LName VARCHAR(255),   

FName VARCHAR(255),

Age INT);

CREATE TABLE Persons (   

ID PK,

LName VARCHAR(255),   

FName VARCHAR(255),

Age INT);

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

BLOB is a datatype

True

False

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Select all that are Constraints

delete

not null

primary key

varchar

all of the above

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How do you delete a specific record in students table?

DELETE FROM students WHERE ID=1;

DELETE FROM student WHERE ID=1;

DELETE * FROM students;

DROP TABLE students;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is it required to define a size for VARCHAR?

True

False

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Choose the items that are SQL Functions

SUM()

AVG()

COUNT()

LIKE()

DELETE()

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Professional Development