[MySQL Tutorial]: Basic Queries (Select, Update, Delete, Insert)

preview_player
Показать описание
In this video I discuss the basic MySQL queries, including select, update, delete and insert. The goal is to show the basic syntax of the query and thus none of them are highly complicated.

If you have any questions or comments please leave me a comment or send a message and I will get back to you as soon as possible!
Рекомендации по теме
Комментарии
Автор

Thanks a lot for uploading this video ! A clear description of how PHP and MySQL together work, is given here

teja-tfhx
Автор

Good Video. Explaining the values as well.

davidsmith-wsbz
Автор

It's a very good tutorial for beginner who want to lean MySQL, thank you.

felixleung
Автор

Thank you for this. I was getting syntax errors because I had replaced all back-ticks with regular single quotes because these latter were more visible to me. I was being done in by back-ticks!! LOL.
Thanks again!

gugsah
Автор

Thanks! for taking the time to make the video, it really helped me out.

johnzoidberg
Автор

@chimamiresatoh It can be done with a single query.

The basic syntax is as follows:
INSERT INTO `table_name` (`columns`, `here`) VALUES('1', '2'), ('1', '2')

So in your case:
INSERT INTO `table_name` (`Name`, `Job`) VALUES('Name1', 'Job1'), ('Name2', 'Job2')

Hope this helped!

PartiallyDeveloped
Автор

How would I go about populating a table with several values, but ignoring certain columns?
For instance, allowing the ID field to auto-increment, but inserting several values into `Name` and several into `Job`?

Can I do that with a single query?

chimamiresatoh
Автор

@gugsah It's a very common error especially for beginner programmers!

Glad to hear this was helpful! Happy coding!

PartiallyDeveloped
Автор

How can insert a column in mysql database's table. Pls let me explain it. Thnx

leonardoddm