text: what is best source to learn complex queries and stored procedures, book or website? here complex means lots of joining like 8 or more tables or like one page query, and optimisation of stored procdure. websites can be a great because the information is free, but it's not always entirely reliable and it's usually unorganised and badly written. if you want to do it right, i would suggest you use a book. but go by reviews. some of those textbooks are too simple or way too complex.