SQLite beginner crash course in Visual Studio Code - 2022

  Рет қаралды 54,603

Byte Myke

Byte Myke

Күн бұрын

Пікірлер: 46
@RomainVallee-m5w
@RomainVallee-m5w Жыл бұрын
I m following your course. But i had an error : Parse error near line 4: no such column: mike RT INTO users (username, password, email) VALUES ("mike", "mypassword", "mike@.... To fixe that issue i went to the web. And I found the reason. I must use the simple quote for a TEXT and not a double quote. I don't know why with the same software and syntax, we don't have the same result I hope it will be helpfull for those who will have this problem.
@bruzote
@bruzote Жыл бұрын
Mine is allowing double quotes. It has been several years since I used SQL and do recall some versions (including the ANSI std, IIRC, called for single quotes). I have no idea why this version allows double quotes and why yours is not working with them. Maybe there is a VS Code setting or a setting in the SQLite extension?
@princeardalan
@princeardalan 8 ай бұрын
Yes, double quotes are supposed to be used for identifiers (i.e. names) only. Strings of characters must use single quotes. This is written in the SQL standard commonly referred to as "ANSI standard". Regardless of which SQL implementation you use, always enclose your table names and column names in double quotes, and your string values in single quotes.
@ChrisG59
@ChrisG59 Ай бұрын
I was stressed because some videos didn't teach how this extension worked, you saved me man! Thanks!
@Joe-wv8gl
@Joe-wv8gl 2 жыл бұрын
Love you way you teach bit by bit, step by step, covering all of it!
@bytemyke
@bytemyke 2 жыл бұрын
Thank you! Glad it helped
@deathspasm9
@deathspasm9 Жыл бұрын
exactly what i was looking for, thanks!
@johnzgallerie2827
@johnzgallerie2827 Жыл бұрын
Dude, great job. I'm gonna start following from now on!
@kamatz4156
@kamatz4156 3 жыл бұрын
Great video! glad I could be your 100th subscriber.
@bytemyke
@bytemyke 3 жыл бұрын
Thank you!
@mathew4239
@mathew4239 2 жыл бұрын
thank you , vs code is much better than using the sqlite software
@ahassan7270
@ahassan7270 Жыл бұрын
Thank you so much. It is really an interesting tutorial and easy to understand.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 2 жыл бұрын
SQLite and Python are a potent combination. For example, I wrote a simple generator function called db_iter that, given an SQL query, returns an iterator over the query results. Saves continual messing about with cursors. Another handy technique is using dict+zip on tuples of field names and returned field values, to produce a dictionary mapping the names to the values.
@swarupsudulaganti4821
@swarupsudulaganti4821 Жыл бұрын
Hi @Lawrence, I'm looking for information something like this for my job interviews. (I have been trying to build simple ELT pipeline using SQLite and python )if possible could you please example links. thank you
@lawrencedoliveiro9104
@lawrencedoliveiro9104 Жыл бұрын
@@swarupsudulaganti4821 You can see this function in action in one of my “Python Topics Notebooks” on Git
@lawrencedoliveiro9104
@lawrencedoliveiro9104 Жыл бұрын
Hub.
@jefflambert7513
@jefflambert7513 3 жыл бұрын
Good info, thank you !!!
@sandilemasuku2240
@sandilemasuku2240 2 ай бұрын
12:50 Failed to open database 'c:\Users\vim\Desktop\Database_sqlite\test.db': Parse error near line 4: no such column: "table" - should this be a string literal in single-quotes? aster WHERE (type="table" OR type="view") error here ---^
@lukajovanovic3656
@lukajovanovic3656 6 ай бұрын
Whery nice explanaining, thank you.
@bytemyke
@bytemyke 6 ай бұрын
Glad it was helpful!
@christender3614
@christender3614 Жыл бұрын
7:33 Regarding username, it’s actually a 1:n relation, not 1:1. The same username can show up /n/ times in the videos table.
@mdhossen7082
@mdhossen7082 2 жыл бұрын
This video is Very helpful, Thanks
@HeinzRuetschi
@HeinzRuetschi Жыл бұрын
Hi Mike, there is a problem with the SQLite extension V0.14.1 in VSC when trying to open database test.db file with right click. However, the test.db file ist ok when opened with sqlite3.exe. Unfortunately I did not find any solution to this issue. The training video by itself worked greate. Thank you very much!
@publayout8014
@publayout8014 Жыл бұрын
Can't create a table. Popup says I neeed to choose a connection profile from a list below. Then it offers to search for a connection. Apparently, VS Code has been modified to make this code impossible to execute. I burned up hours looking for an answer, but found nothing on the web so far.
@arafi611
@arafi611 Жыл бұрын
can u advice someone to use sqlite for an android app like uber?
@raaghavgr1990
@raaghavgr1990 2 жыл бұрын
Is there any difference in syntax between Oracle SQL and SQLite?
@relax2234
@relax2234 2 жыл бұрын
strange, it dowsn´t work, perhabs i try to find a vid which shows, how to create folders with the name sqlite and connect with the database.
@lightningg252
@lightningg252 2 жыл бұрын
Great info and you explain things very well, thank you! Do you have a tutorial on the next step of using php to display sqlite data on a webpage?
@bytemyke
@bytemyke 2 жыл бұрын
do have a video showing how to use this with PHP kzbin.info/www/bejne/j6K1p3mJbpybrdE. I have not made a specific video for web pages yet, but I plan to. If you want to get a head start, the basic idea is that a web form will be used to dynamically load data into the database. Reading data will work the exact same it will just be displayed in html instead of logged to the console. Please let me know if you have any questions :)
@bluesyace9564
@bluesyace9564 2 жыл бұрын
bro just use mysql for web pages, way easier
@gokhalesadan
@gokhalesadan Жыл бұрын
helpful video
@bytemyke
@bytemyke Жыл бұрын
Glad to hear that!
@CM_Burns
@CM_Burns Жыл бұрын
I keep getting "Code language not supported or defined." and can't run it.
@sonalipandagre7614
@sonalipandagre7614 10 ай бұрын
thanks its helpful
@imindyboyz
@imindyboyz 2 жыл бұрын
Hi Mike, thanks for your good video. anyways, How can i import .csv file into sqlite vscode ?
@builder481
@builder481 2 жыл бұрын
.mode csv
@mdhossen7082
@mdhossen7082 2 жыл бұрын
How to use this SQLite database with javascript?
@bytemyke
@bytemyke 2 жыл бұрын
I have a video on that. Node JS SQLite Crash Course (2022) kzbin.info/www/bejne/kIO8n2mqnNN4na8
@kendcey
@kendcey 3 ай бұрын
Missing so much detail how is this beginning. Vs code doesn't magically start up
@bytemyke
@bytemyke 3 ай бұрын
I apologize for the confusion. There are many tutorial videos on KZbin that will teach you how to install and run visual studio code on your device if you need help.
@gopinath502
@gopinath502 3 жыл бұрын
Don't we need to install sqlite locally in our pc .or is it ok to work in the vs code with extension .
@bytemyke
@bytemyke 3 жыл бұрын
You do not need to install it locally. This video covers everything
@veiisk
@veiisk 2 жыл бұрын
in case it helps = im a noob and got frustrated lost at about 14 mins. This might be above me though.
@RinglisLuan
@RinglisLuan 2 жыл бұрын
need db file to study
@bruzote
@bruzote Жыл бұрын
I get extremely frustrated watching someone train beginners like me and they are using studio interface features that have not been explained to the beginners. For example, at 11:05, I hear clickety-clack and it seems like the mouse points at line 1, and then magically two lines of code are commented out. How did those comment markers get placed there? The viewers get zero explanation on this. Likewise for other parts of the video. It's a challenge to follow without explanations being offered. By the way, I have decades of experience in various languages and shells and studios, so it is not like I am stupid. This video is simply assuming users understand the VS Code Studio and also assumes viewers understand how and why the VS Studio Code is configured the way the video is using it. Those are invalid assumptions. I am disappointed. The expectation users have this VS Code knowledge and skill set just makes this harder than it has to be, and probably impossible for some people.
SQLite Introduction - Beginners Guide to SQL and Databases
21:49
Caleb Curry
Рет қаралды 40 М.
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 34 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 16 МЛН
Learn SQL In 60 Minutes
56:24
Web Dev Simplified
Рет қаралды 2,1 МЛН
How to Run SQLITE in Visual Studio Code
9:00
TutorialBrain
Рет қаралды 65 М.
SQLite Backend for Beginners - Create Quick Databases with Python and SQL
13:32
Node JS SQLite Crash Course
10:59
Byte Myke
Рет қаралды 51 М.
SQLite Databases With Python - Full Course
1:29:37
freeCodeCamp.org
Рет қаралды 682 М.
What's Killing all the iMacs?
12:29
Action Retro
Рет қаралды 19 М.
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 34 МЛН