码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • SQL for Data Science Quiz Week1


    Question 3
    Which of the following statements are true of Entity Relationship (ER) Diagrams?

    They show you the relationships between tables.

    They only represent entities in the diagram.

    They identify the Primary Keys

    They are usually a representation of a business process.

    They speed up your querying time. 

    They usually are represented in a visual format. 

    Key:
    See the video entitled, "Data Models, Part 2: The Evolution of Data Models" for more information.

    一开始全选了,但是ER  Diagrams不是只represent entities,也不能加速querying time

    Question 4

    The ER diagram below is depicting what kind of relationship between the EMPLOYEES and CUSTOMERS tables?

    One-to-one

    One-to-many  

    Many-to-one

    Many-to-many

    Key:
    See the video entitled, "Data Models, Part 3: Relational vs. Transactional Models" for more information.

    一开始没看懂图,凭常识选的many-to-many,后面仔细看图,那个无限符号表示many,没有就是one

    Question 8
    When using the "CREATE TABLE" command and creating new columns for that table, which of the following statements is true?

    You must  assign a data type to each column

    You can create the table and then assign data types later 

    You must insert data into all the columns while creating the table

    Key:

    上课这段说很快,没反复看错过了,重新看发现create table他需要给出

    1. table name

    2. name and definition of columns

    3. data type


    Question 9
    Look at the values in the two columns below. Based on the values in each column, which column could potentially be used as a primary key?

     

    Column 1

    Column 2

    Column 1 OR Column 2 
    Incorrect
    See the video entitled, "Creating Tables" for more information.

     Key

    本来觉得1和2都可以,后面发现只能是1

  • 相关阅读:
    K8S笔记 - 查看微服务日志
    Java小树的参天成长【基本类型与字符串之间的转化】
    数据库系列:MySQL不同操作分别用什么锁?
    开放原子训练营第一季——铜锁探“密” 圆满落幕!
    Spark 3.0 - 4.Pipeline 管道的工作流程
    好用的跨平台同步笔记工具,手机和电脑可同步的笔记工具
    MySQL解析binlog日志文件
    JZ42 连续子数组的最大和
    R语言使用plot函数可视化数据散点图,使用pch参数设置数据点类型、fg参数自定义设置可视化图像边框颜色
    Python面向对象特性——多继承【Python中的mro方法搜索顺序、新式类和旧式(经典)类)】
  • 原文地址:https://blog.csdn.net/anelance/article/details/125468781
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号