Single-Table SQL

11 试题

1.

Structured Query Language (SQL) is used to (check all that apply)

Delete data

Check Python code for errors

Create a table

Insert data

2.

Which of these is the right syntax to make a new table?

MAKE DATASET people;

MAKE people;

CREATE TABLE people;

CREATE people;

3.

Which SQL command is used to insert a new row into a table?

INSERT INTO

ADD ROW

INSERT ROW

INSERT AFTER

4.

Which command is used to retrieve all records from a table?

RETRIEVE * FROM Users

RETRIEVE all FROM User

SELECT all FROM Users

SELECT * FROM Users

5.

Which keyword will cause the results of the query to be displayed in sorted order?

GROUP BY

ORDER BY

WHERE

None of these

6.

In database terminology, another word for table is

relation

attribute

field

row

7.

In a typical online production environment, who has direct access to the production database?

Developer

UI/UX Designer

Project Manager

Database Administrator

8.

Which of the following is the database software used in this class?

SQLite

SQL Server

Oracle

MySQL

Postgres

9.

What happens if a DELETE command is run on a table without a WHERE clause?

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

10.

Which of the following commands would update a column named "name" in a table named "Users"?

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

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

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

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

11.

What does this SQL command do?

SELECT COUNT(*) FROM Users

Hint: This is not from the lecture

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

Coursera课程Python for everyone:Quiz: Single-Table SQL相关推荐

  1. Coursera课程Python for everyone:Quiz: Regular Expressions

    Quiz: Regular Expressions 10 试题 1. Which of the following best describes "Regular Expressions&q ...

  2. Coursera课程Python for everyone:Quiz: Many-to-Many Relationships and Python

    Many-to-Many Relationships and Python 9 试题

  3. Coursera课程Python for everyone:Quiz: Multi-Table Relational SQL

    Multi-Table Relational SQL 10 试题 1. What is the primary added value of relational databases over fla ...

  4. Coursera课程Python for everyone:Quiz: Object Oriented Programming

    Object Oriented Programming 11 试题 1. Which came first, the instance or the class? instance class fun ...

  5. Coursera课程Python for everyone:Quiz: REST, JSON, and APIs

    REST, JSON, and APIs 10 试题 1. Who is credited with getting the JSON movement started? Pooja Sankar M ...

  6. Coursera课程Python for everyone:Quiz: eXtensible Markup Language

    eXtensible Markup Language 10 试题 1. What is "serialization" when we are talking about web ...

  7. Coursera课程Python for everyone:Quiz: Reading Web Data From Python

    Reading Web Data From Python 8 试题 1. Which of the following Python data structures is most similar t ...

  8. Coursera课程Python for everyone:Quiz: Networks and Sockets

    Networks and Sockets 10 试题 1. What do we call it when a browser uses the HTTP protocol to load a fil ...

  9. Coursera课程Python for everyone:chapter9

    Chapter 9 Quiz 10 试题 1. How are Python dictionaries different from Python lists? Python lists mainta ...

最新文章

  1. 串口流控--软件流控与硬件流控
  2. 2. Web Dynpro for ABAP :Component Controller
  3. ThinkPHP5 Model分层及多对多关联的建立
  4. Win10如何取消开机密码
  5. css元素可拖动,使用css-transform实现更好的拖拽功能
  6. java连接mongod抛java.net.SocketTimeoutException: connect timed out异常(2015-11-07 20:29:58)
  7. Hibernate Collection乐观锁定
  8. kubelet启动失败_kubelet 架构浅析
  9. AndroidStudio_安卓原生开发_全局异常处理_并记录系统错误日志---Android原生开发工作笔记138
  10. linux块设备缓存bcache
  11. 使用Microsoft Sync Framework做文件同步
  12. C++编程 Unicode转换成中文
  13. linux内核源码 进程,详解:Linux内核源代码
  14. mac excel mysql数据库_macOS系统的Excel从MySQL数据库查询数据的设置方法
  15. 不要等到双十一,MathType公式编辑器提前降价!
  16. 计算机怎么改鼠标标志,图文帮你如何自定义电脑鼠标指针的图标
  17. 【Steam VR 2.0】自定义按键 action 发布后无效的解决办法
  18. 手机图形计算器matlab,图形计算器Mathlab pro版
  19. ThreadLocal原理及使用场景
  20. 新人如何快速熟悉一个新项目

热门文章

  1. Java Review - Java进程内部的消息中间件_Event Bus设计模式
  2. MySQL - 并发事务问题及解决方案
  3. Oracle-分区表解读
  4. HTML地址栏传数据和json区别,前端利用formData格式进行数据上传,前端formData 传值 和 json传值的区别?...
  5. 递归 累加和累乘
  6. 机器视觉:ransac算法详解
  7. Windows dos 在某个目录下的所有文件中查找包含某个字符串的文件
  8. java 多个 panel_在Java中,每次我向JPanel添加多个东西时,第二...
  9. centos 编译 mysql_centos 编译安装mysql
  10. solaris与linux区别,solaris与linux命令的区别