课程: SQL Weekly Tips
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
SQL JOIN
- [Instructor] SQL uses joins to connect two relational databases together. In order to effectively use SQL, you must understand how joins work. And there are several of them. It's going to take some time to work your way through 'em. Incidentally, if you're confused about joins, join the rest of the SQL community. Joins are complex, but once you understand them, your work with SQL will benefit. So let's dive right in and look at the simplest of all joins. I've set this up in line three through 10. And if I select those lines, and then use Visual Studio's command E, command E, I can execute that SQL. On the right hand side, you'll see that we've got some results. The first column is titled first name, the second is last name, and the third is postal code. And you can see that those are generated from our code in line three, four, and five. Lines six and seven of the SQL code identify fields called…
随堂练习,边学边练
内容
-
-
-
-
-
-
Concatenation with CONCAT and CONCAT_WS2 分钟 58 秒
-
(已锁定)
Find strings in lists with ELT and FIELD4 分钟 50 秒
-
(已锁定)
Convert IOT sensor data with EXPORT_SET and MAKE_SET7 分钟 17 秒
-
(已锁定)
Use FORMAT to put commas and decimals in numbers2 分钟 39 秒
-
(已锁定)
Convert decimals to hex, binary, or octal with HEX, BIN, and OCT1 分钟 57 秒
-
(已锁定)
Use REVERSE to reverse the characters in a string1 分钟 52 秒
-
(已锁定)
Use RPAD and LPAD to line up numbers3 分钟 26 秒
-
(已锁定)
Use REPLACE to replace occurrences of a specified string1 分钟 35 秒
-
(已锁定)
Round up and down with FLOOR, ROUND, TRUNCATE, and CEILING4 分钟 9 秒
-
(已锁定)
Use SQL to create the average of a group of numbers2 分钟 23 秒
-
(已锁定)
SQL JOIN7 分钟 17 秒
-
(已锁定)
SQL LEFT JOIN5 分钟 29 秒
-
(已锁定)
SQL INNER JOIN5 分钟 3 秒
-