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 Жыл бұрын
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?
@princeardalan8 ай бұрын
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Ай бұрын
I was stressed because some videos didn't teach how this extension worked, you saved me man! Thanks!
@Joe-wv8gl2 жыл бұрын
Love you way you teach bit by bit, step by step, covering all of it!
@bytemyke2 жыл бұрын
Thank you! Glad it helped
@deathspasm9 Жыл бұрын
exactly what i was looking for, thanks!
@johnzgallerie2827 Жыл бұрын
Dude, great job. I'm gonna start following from now on!
@kamatz41563 жыл бұрын
Great video! glad I could be your 100th subscriber.
@bytemyke3 жыл бұрын
Thank you!
@mathew42392 жыл бұрын
thank you , vs code is much better than using the sqlite software
@ahassan7270 Жыл бұрын
Thank you so much. It is really an interesting tutorial and easy to understand.
@lawrencedoliveiro91042 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@swarupsudulaganti4821 You can see this function in action in one of my “Python Topics Notebooks” on Git
@lawrencedoliveiro9104 Жыл бұрын
Hub.
@jefflambert75133 жыл бұрын
Good info, thank you !!!
@sandilemasuku22402 ай бұрын
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 ---^
@lukajovanovic36566 ай бұрын
Whery nice explanaining, thank you.
@bytemyke6 ай бұрын
Glad it was helpful!
@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.
@mdhossen70822 жыл бұрын
This video is Very helpful, Thanks
@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 Жыл бұрын
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 Жыл бұрын
can u advice someone to use sqlite for an android app like uber?
@raaghavgr19902 жыл бұрын
Is there any difference in syntax between Oracle SQL and SQLite?
@relax22342 жыл бұрын
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.
@lightningg2522 жыл бұрын
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?
@bytemyke2 жыл бұрын
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 :)
@bluesyace95642 жыл бұрын
bro just use mysql for web pages, way easier
@gokhalesadan Жыл бұрын
helpful video
@bytemyke Жыл бұрын
Glad to hear that!
@CM_Burns Жыл бұрын
I keep getting "Code language not supported or defined." and can't run it.
@sonalipandagre761410 ай бұрын
thanks its helpful
@imindyboyz2 жыл бұрын
Hi Mike, thanks for your good video. anyways, How can i import .csv file into sqlite vscode ?
@builder4812 жыл бұрын
.mode csv
@mdhossen70822 жыл бұрын
How to use this SQLite database with javascript?
@bytemyke2 жыл бұрын
I have a video on that. Node JS SQLite Crash Course (2022) kzbin.info/www/bejne/kIO8n2mqnNN4na8
@kendcey3 ай бұрын
Missing so much detail how is this beginning. Vs code doesn't magically start up
@bytemyke3 ай бұрын
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.
@gopinath5023 жыл бұрын
Don't we need to install sqlite locally in our pc .or is it ok to work in the vs code with extension .
@bytemyke3 жыл бұрын
You do not need to install it locally. This video covers everything
@veiisk2 жыл бұрын
in case it helps = im a noob and got frustrated lost at about 14 mins. This might be above me though.
@RinglisLuan2 жыл бұрын
need db file to study
@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.