MySQL: How to INSERT rows into a TABLE

  Рет қаралды 133,655

Bro Code

Bro Code

Күн бұрын

Пікірлер: 60
@BroCodez
@BroCodez 2 жыл бұрын
-- EXAMPLE 1 -- INSERT INTO employees VALUES (1, "Eugene", "Krabs", 25.50, "2023-01-02"); SELECT * FROM employees; -- EXAMPLE 2 -- INSERT INTO employees VALUES (2, "Squidward", "Tentacles", 15.00, "2023-01-03"), (3, "Spongebob", "Squarepants", 12.50, "2023-01-04"), (4, "Patrick", "Star", 12.50, "2023-01-05"), (5, "Sandy", "Cheeks", 17.25, "2023-01-06"); SELECT * FROM employees; -- EXAMPLE 3 -- INSERT INTO employees (employee_id, first_name, last_name) VALUES (6, "Sheldon", "Plankton"); SELECT * FROM employees;
@ayskvv
@ayskvv Жыл бұрын
bro has helped me more than my teachers ever could :skull:
@AayushGupta-fc8bi
@AayushGupta-fc8bi Ай бұрын
Thank You so much for telling MySQL so easily. I got full marks in practials.
@Osebhahiemenn
@Osebhahiemenn Ай бұрын
where did you practicalise?
@bichoron3603
@bichoron3603 5 ай бұрын
Amazing work Bro. Please keep it up & give us more tutorials about SQL learning & practical projects. Waiting for your replay
@murodjonsadullaev1727
@murodjonsadullaev1727 2 жыл бұрын
thank you bro for sharing with such precious knowledges. God bless you man
@ArniSchofield
@ArniSchofield 6 ай бұрын
Bro is a goat in this field, keep it up 🇿🇼🇿🇼🇿🇼
@mercenary5463
@mercenary5463 10 ай бұрын
Bro called her sandy cheeks and thought we wouldn’t notice 😂
@Kabila.Shabab-ok9fl
@Kabila.Shabab-ok9fl 8 ай бұрын
Bro you made me cry, you're too good to make such a thought thing into an easy thing. LoL bro Lol
@blessing2457
@blessing2457 Жыл бұрын
Thank you! This was helpful 👏🏽
@j.kelvinfallah
@j.kelvinfallah 8 ай бұрын
You killed it bro. Thanks
@nicoschmid1
@nicoschmid1 Ай бұрын
Once again, thank you
@kunalchauhan5294
@kunalchauhan5294 2 жыл бұрын
1 comment Felling lucky with every other bro
@Wakeuptorealityman
@Wakeuptorealityman Ай бұрын
Ngl, ur cooking my man.🔥🔥
@Person_Alive
@Person_Alive Жыл бұрын
Why and how, only 31 comments bro you deserve a lot more
@MalakJameel-x1h
@MalakJameel-x1h Жыл бұрын
you are the best thank you so much
@On7thSky
@On7thSky 4 ай бұрын
I have a question, so how would I update the row once I have the information for the missing columns?
@robertodhiambo6148
@robertodhiambo6148 4 ай бұрын
Very helpful
@sumanth1846
@sumanth1846 2 ай бұрын
THANK TOU SO MUCH BRO💌
@luly6465
@luly6465 10 ай бұрын
How can I delete a duplicate row? When I follow the query example and it says: values ( and write I write the information of the employee) and then I run the query and check the table the row repeats🧐
@dinushachathuranga7657
@dinushachathuranga7657 Жыл бұрын
Thanks for the video❤
@lofwyr5063
@lofwyr5063 10 ай бұрын
Is the fact that you are getting column names on the empty set a feature of the sql workbench? Cause all I get, on an empty set, is "empty set". I'd have to use "show columns" for that.
@ugyenofficial
@ugyenofficial 2 жыл бұрын
Thank you so much Bro❤❤
@i.am_khai
@i.am_khai 3 ай бұрын
so what if i created a table myself in the sql and i wanted to import a csv.file into that table that i had just created. how could I do that?
@younessj4923
@younessj4923 2 жыл бұрын
Thank you so much Broo
@adedamolayusuf7018
@adedamolayusuf7018 2 жыл бұрын
trying to learn python although, your videos help a lot, I get bored after some time of learning like I need the thing I know to use for real-life problems what can I do
@tboleon
@tboleon 2 жыл бұрын
question, whats mysql and what is its purpose?
@BroCodez
@BroCodez 2 жыл бұрын
It's a language to query a database
@essammakia3475
@essammakia3475 Жыл бұрын
im getting this error 17:57:10 INSERT INTO employees VALUES (1, "Eugene", "Krabs", 25, "2023-01-02") Error Code: 1136. Column count doesn't match value count at row 1 0.000 sec hope you can help me !
@brandonh9142
@brandonh9142 Жыл бұрын
my problem was i left the email section in check to make sure you have the correct amount of columns use code: alter table employees drop column email; to remove a column. then add the code again should work.
@essammakia3475
@essammakia3475 Жыл бұрын
@@brandonh9142 thanks 🙏 I will give it a try
@KrAyOnS1
@KrAyOnS1 Жыл бұрын
@@essammakia3475 Did it work? Having same issue
@essammakia3475
@essammakia3475 Жыл бұрын
@@KrAyOnS1 no it did not work for me sadly
@GaBeKool
@GaBeKool Жыл бұрын
Something doesnt work for me. When i try to print the table (SELECT * FROM employees) my whole program crashes. Whats wrong there? Am i the only one having this issue?
@jaylenharris2891
@jaylenharris2891 Жыл бұрын
did you ever figure out what was happening
@GaBeKool
@GaBeKool Жыл бұрын
Actually no
@kennethfortugaleza5073
@kennethfortugaleza5073 6 ай бұрын
My man how do I add an image to a table? and if so anyway to view it?
@KrAyOnS1
@KrAyOnS1 Жыл бұрын
Question. You set the hourly pay to DECIMAL. What if it was a whole number woulf it matter?
@TENREAL
@TENREAL 9 ай бұрын
Just use INT
@ArimuMariam
@ArimuMariam 8 ай бұрын
Use INT
@suryad3092
@suryad3092 4 ай бұрын
in last how to add the records in remaining two columns
@mdomine245
@mdomine245 Жыл бұрын
is there commit or rollback command like oracle?
@andredubbs4854
@andredubbs4854 2 жыл бұрын
cool video bro!
@sherzod7788
@sherzod7788 Жыл бұрын
hey bro code. at 5:09 can we just insert null values instead of telling mysql which columns we will insert?
@markocoly4960
@markocoly4960 7 ай бұрын
hey did you find the solution i have the same problem
@gamePlays9699
@gamePlays9699 2 жыл бұрын
Eugene?
@short-shots
@short-shots 2 жыл бұрын
BRO CHAD GANG GANG BOOM
@ReeshavGhosh200
@ReeshavGhosh200 2 жыл бұрын
How to make ai for games in html using javascript
@M4LAZE
@M4LAZE 2 жыл бұрын
how to remove dupicate rows
@MACALINK
@MACALINK Ай бұрын
Is this lecture university level or below?
@mulumbacephas5036
@mulumbacephas5036 2 жыл бұрын
A random comment to hack youtube algorithm
@Gametimewithsurya
@Gametimewithsurya 4 ай бұрын
Bro is Bro
@mohaymenul-islam
@mohaymenul-islam Ай бұрын
✅ 8th October - 2024
@fyrukmcoo100
@fyrukmcoo100 2 жыл бұрын
:((
@BroCodez
@BroCodez 2 жыл бұрын
:))
@UttejBobby
@UttejBobby 2 ай бұрын
****SINGLE QUOTATION MARKS ARE ENOUGH INSERT INTO employees VALUES (1, 'Eugene', 'Krabs', 25.50, '2023-01-02'); SELECT * FROM employees3; INSERT INTO employees VALUES (2, 'Squidward', 'Tentacles', 15.00,'2023-01-03'), (3, 'Spongebob', 'Squarepants', 12.50, '2023-01-04'), (4, 'Patrick', 'Star', 12.50, '2023-01-05'), (5, 'Sandy', 'Cheeks', 17.25, '2023-01-06'); SELECT * FROM employees3; -- EXAMPLE 3 -- INSERT INTO employees3 (employee_id, first_name, last_name) VALUES (6, 'Sheldon', 'Plankton'); SELECT * FROM employees3 order by employee_id
@ronf6900
@ronf6900 2 жыл бұрын
NO GO TUTORIAL @brocode WTF
@BroCodez
@BroCodez 2 жыл бұрын
y tho?
MySQL: How to SELECT data from a TABLE
5:01
Bro Code
Рет қаралды 77 М.
MySQL: STORED PROCEDURES
8:02
Bro Code
Рет қаралды 100 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 12 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 254 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 35 МЛН
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 3,5 МЛН
MySQL: FOREIGN KEYS are easy (kind of)
8:17
Bro Code
Рет қаралды 244 М.
MySQL: How to create a TABLE
8:10
Bro Code
Рет қаралды 304 М.
MySQL: TRIGGERS
16:50
Bro Code
Рет қаралды 134 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Roadmap for Learning SQL
4:52
ByteByteGo
Рет қаралды 487 М.