(11) MySQL Sub Query Tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,895
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 18, 2010

This ones tricky guys! We are going to create a Query within a Query. Please take your time to see the code and think about what is happening so you understand. The SELECT statement in the SUB QUERY compares it to the MAIN QUERY's WHERE statement. Confused? Study the code a few times!

http://jream.com/learning

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (JREAMdesign)

  • What program are you using

    

  • @jattwhiskey604 heidi sql

  • @JREAMdesign

    Two Questions.

    Do you need to know this in order to create a membership website?

    &

    Where can I get those sounds that you have on your computer installed on my computer?

  • @AlphonsoWisseh Hi, you need to know a database language to store and reuse your data, like user logins and passwords. The sounds come with windows 7, they might be the default.

  • i really love your mysql tutorials, the best i have seen so far.

    i am only having the problem with this sub query , is there any chance you would come up with a more practice example to use this?

  • @programmingismylife SELECT * FROM users WHERE 1 IN (SELECT * FROM other_table)

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • If only I had known about this before, this is fantastic. Thanks!

  • @SuperJammed if you have phpMyAdmin installed you should Export the database, then just select the thread area and pop those in!

  • @JREAMdesign ya but i need it. to transfer my threads blog to another cms. there are some extenitons but it is just not that good . i am trying to transfer it myself. :x

  • @SuperJammed Hey, you would need two database connections at once (Like if you were working in PHP), but that is a really bad idea, you should have 1 database, a bunch of tables inside it with posts, authors, threads, etc. I do not understand why you want to do that with separate databases

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more