sqlzoo练习答案--SELECT names/zh】的更多相关文章

name continent Afghanistan Asia Albania Europe Algeria Africa Andorra Europe Angola Africa .... name:國家名稱continent:洲份 1. 你能够用WHERE name LIKE 'B%'來找出以 B 為開首的國家.%是萬用字元,能够用代表不论什么字完. 找出以 Y 為開首的國家. SELECT name FROM world WHERE name LIKE 'Y%' 2.找出以 Y 為結尾的國…
This tutorial looks at how we can use SELECT statements within SELECT statements to perform more complex queries. name continent area population gdp Afghanistan Asia 652230 25500100 20343000000 Albania Europe 28748 2831741 12960000000 Algeria Africa…
title: SQL-Learning date: 2019-03-12 20:37:21 tags: SQL --- 这是关于在一个SQL学习网站的练习题答案记录:SQL教程 SQL基础 由一些简单的查询开始 这里的默认表格为WORLD表格 . name continent area population gdp Afghanistan Asia 652230 25500100 20343000000 Albania Europe 28748 2831741 12960000000 Alger…
< SELECT names   Language: English  • 中文 name continent Afghanistan Asia Albania Europe Algeria Africa Andorra Europe Angola Africa .... name:国家名称continent:洲份 Pattern Matching Strings 此教程使用LIKE运算子来检查国家名字,我们会在world表格中运用SELECT语句: Summary   1. 你可以用WHERE…
SELECT from nobel篇 1. 更改查詢以顯示1950年諾貝爾獎的獎項資料. 答案: SELECT yr, subject, winner FROM nobel WHERE yr = 1950 2.顯示誰贏得了1962年文學獎(Literature). SELECT winner FROM nobel WHERE yr = 1962 AND subject = 'Literature' 3.顯示“愛因斯坦”('Albert Einstein') 的獲獎年份和獎項. SELECT yr…
SELECT from world篇 11. 题目: The CASE statement shown is used to substitute North America forCaribbean in the third column. Show the name - but substitute Australasia for Oceania - for countries beginning with N. (翻译:让你给出名字和所属大洲的名字,               其中所属大…
SELECT from Nobel Tutorial 1.Change the query shown so that it displays Nobel prizes for 1950. SELECT yr, subject, winner FROM nobel WHERE yr = 1950 2.Show who won the 1962 prize for Literature. SELECT winner FROM nobel WHERE yr = 1962 AND subject =…
This tutorial looks at how we can use SELECT statements within SELECT statements to perform more complex queries. name continent area population gdp Afghanistan Asia 652230 25500100 20343000000 Albania Europe 28748 2831741 12960000000 Algeria Africa…
World Country Profile: Aggregate functions This tutorial is about aggregate functions such as COUNT, SUM and AVG. An aggregate function takes many values and delivers just one value. For example the function SUM would aggregate the values 2, 4 and 5…
We continue practicing simple SQL queries on a single table. This tutorial is concerned with a table of Nobel prize winners: nobel(yr, subject, winner) Using the SELECT statement. 1.Winers from 1950 检索1950年的诺贝尔奖信息. Change the query shown so that it d…