码农知识堂 - 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

  • 相关阅读:
    终于有人把不同标签的加工内容与落库讲明白了丨DTVision分析洞察篇
    HTTP Get 和 Post 的区别
    java-php-python-ssm智慧后勤系统计算机毕业设计
    HTML5基础:框架,文字,图片,表格,列表
    小学六年级的读者,自学计算机,会爬虫,搞崩过学校网站,还有 Girlfriend.....
    论文解析——一种多核处理器直连接口QoS的设计与验证
    C练题笔记之:Leetcode-658. 找到 K 个最接近的元素
    Qt-OpenCV学习笔记--图像边界处理--copyMakeBorder()
    内存层次优化相关的几种方法,,一些内存层次优化相关的知识
    第1章 HTML&第2章 CSS-JS
  • 原文地址:https://blog.csdn.net/anelance/article/details/125468781
  • 最新文章
  • 【JVM】编译执行与解释执行的区别是什么?JVM 使用哪种方式?
    用 Hashids 优雅解决 C 端自增 ID 暴露问题
    V8引擎 精品漫游指南--Ignition篇(上) 指令 栈帧 槽位 调用约定 内存布局 基础内容
    LLVM Pass快速入门(四):代码插桩
    milkup:桌面端 markdown AI续写和即时渲染
    基于项目工程构建SBOM(软件物料清单)的研究
    鸿蒙应用开发UI基础第二节:鸿蒙应用程序框架核心解析与实操
    .NET 中如何快速实现 List 集合去重?
    扣子Coze实战:从0到1打造抖音+小红书热点监控智能体
    浅谈数据访问层
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号