您的位置:首页 > 编程语言 > Python开发

Coursera课程Python for everyone:Quiz: Single-Table SQL

2016-02-17 11:16 726 查看


Single-Table SQL

11 试题

Delete data

Check Python code for errors

Create a table

Insert data

MAKE DATASET people;

MAKE people;

CREATE TABLE people;

CREATE people;

INSERT INTO

ADD ROW

INSERT ROW

INSERT AFTER

RETRIEVE * FROM Users

RETRIEVE all FROM User

SELECT all FROM Users

SELECT * FROM Users

GROUP BY

ORDER BY

WHERE

None of these

relation

attribute

field

row

Developer

UI/UX Designer

Project Manager

Database Administrator

SQLite

SQL Server

Oracle

MySQL

Postgres

The first row of the table will be deleted

All the rows in the table are deleted

All the rows without a primary key will be deleted

It is a syntax error

UPDATE Users (name) VALUES ('new name') WHERE ...

Users->name = 'new name' WHERE ...

Users.name='new name' WHERE ...

UPDATE Users SET name='new name' WHERE ...

It only retrieves the rows of Users if there are at least two rows

It is a syntax errror

It counts the rows in the table Users

It adds a COUNT column to the Users table
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息