Derived Channel
1.54K subscribers
252 photos
4 videos
374 files
68 links
القناة الأساسية
@stepbystep001

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
What is the maximum amount that any of our contributors has given?
Anonymous Quiz
94%
SELECT MAX(amount) FROM contributors
6%
SELECT MAXIMUM(amount) FROM contributors
What if we were interested in learning who had given the largest amount? We then use …
Anonymous Quiz
21%
super queries
79%
sub queries
SELECT id FROM contributors WHERE amount = (SELECT MAX(amount) FROM contributors
Anonymous Quiz
16%
Using Two Queries
84%
Using sub queries
WHERE clause can use aggregate functions.
Anonymous Quiz
49%
T
51%
F
For aggregates, the equivalent of a WHERE clause is the HAVING clause. Immediately following the GROUP BY
Anonymous Quiz
93%
T
7%
F
كدا الحمدلله نص المنهج اتبعت اول 5 محاضرات ان شاء الله نكمل الباقي النهارده
.......... function is used to count the number of rows, but it counts all rows in a table including the rows with NULL values, whereas ............. counts only the non-NULL values in the specified column.
Anonymous Quiz
70%
count(*) - count()
30%
count() - count(*)
LIKE operator matchs a pattern ( case insensitive)
Anonymous Quiz
34%
T
66%
F
Which of the following should be used to find the mean of the salary?
Anonymous Quiz
17%
Mean(salary)
56%
Avg(salary)
27%
Sum(salary) / Count(salary)
Text requier double quotation mark
Anonymous Quiz
47%
T
53%
F
محاضره 6
ALTER modifies table structure
Anonymous Quiz
7%
ADD COLUMN
3%
DROP COLUMN
3%
RENAME COLUMN
87%
all
join on the tables is a query that merges the data from two different tables.
Anonymous Quiz
95%
T
5%
F
We can use Aliases instead of complete table name
Anonymous Quiz
88%
T
12%
F
We Can use Aliases also function with the JOIN keyword
Anonymous Quiz
85%
T
15%
F
The default form of JOIN
Anonymous Quiz
94%
INNER JOIN
6%
OUTER JOIN
Return rows where there is a match in both tables
Anonymous Quiz
69%
INNER JOIN
31%
OUTER JOIN