⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 natural_full_join.sql

📁 AbsDataBase5.16 最新版
💻 SQL
字号:
/*This SQL script uses Demos.abs database. 
  Please open ...\AbsoluteDatabase\Demos\Data\Demos.abs database file.
  This example illustrates use of FULL JOIN action with NATURAL option. 
  This query retrieves all event names and places where they happen. Venue is attached to event name if value of same named field is equal in both tables. If there is no corresponding venue for event, then NULL is placed beside it. Likewise, if a corresponding event for a venue couldn't be found, NULL is placed to the left of it.*/

select Event_Name, Venue
from Events natural full join Venues  
order by Event_Name, Venue

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -