@CamiloSanchez1979 Yes, it seems so. The only question that I have concerns the second table with countries and years...is it possible that the search will be done by first looking at the years column even though, in our query, we've put country on the first place (...WHERE country='CHINA'...).
The order of conditions in the SQL statement is irrelevant. Actually "order" is a notion that is completely foreign to the relational theory as designed by Ted Codd. Query optimizers check conditions, check indexes, sometimes rewrite queries, and do as they can to take advantage of existing indexes - if things such as selectivity and distribution of value hint at using the indexes being good for response time.
No, thank you for teaching.
hemmahbeast 1 month ago
excellent.. teaching method and contents...
shakeosm 4 months ago
probably one of the best tutorials i've seen for indexes
murph1329 6 months ago
extremely funny videos. i am definitely going to have a look at your books. merci pour le bon travaille.
polypus74 6 months ago
Thank you for great tutorial
minami935 7 months ago
Incredible tutorial :D
Akshayphadke 10 months ago
Very easy to understand.
viniciusvh1980 10 months ago
Fell asleep a few times but good.
cmetcalf27 1 year ago
You english pronunciation is really bad.
I can hardly understand what you say.
Please improve your pronunciation. Thank you.
ponghissimo1 1 year ago
@ponghissimo1 That's why he has put closed captions... So...
AnExplorer1000 1 year ago
@ponghissimo1 He's French..
rsmandudeguy 1 year ago
Ok, so the question remains, should one index or not? ..i guess the answer is relative
CamiloSanchez1979 1 year ago
@CamiloSanchez1979 Yes, it seems so. The only question that I have concerns the second table with countries and years...is it possible that the search will be done by first looking at the years column even though, in our query, we've put country on the first place (...WHERE country='CHINA'...).
Strange...
AnExplorer1000 1 year ago
@AnExplorer1000
The order of conditions in the SQL statement is irrelevant. Actually "order" is a notion that is completely foreign to the relational theory as designed by Ted Codd. Query optimizers check conditions, check indexes, sometimes rewrite queries, and do as they can to take advantage of existing indexes - if things such as selectivity and distribution of value hint at using the indexes being good for response time.
roughsealtd 1 year ago
Very Nice Description of Indexes
Would really appreciate more videos and elaborate discussions from experts like u
Njoiraja 1 year ago
would not have dropped my class if I seen this video!
twolittlehorses4me 1 year ago
Nice description. Thanks for the video.
dave00ster 2 years ago
thanks for the great tutorials! that's the most i ever learned about databases in just an hour!
bulbish 2 years ago