Error in inserting column in table

Google Photos
Google Photos

I am following a tutorial step by step exactly.

Why is it telling me in the table there is no column with the name chemistry marks when there is?Preformatted text

Please do not post text in images:
Why should I not upload images of code/data/errors when asking a question?

Put your code, commands, output, error messages as text between lines with triple backticks:

Your text will be here.

Now what I noticed in your images:

  • We do not see how you created the table classroom so we cannot say why is the column missing.
  • Do not use format(), f-strings etc. to insert values into SQL commands. These methods create SQL-injection vulnerabilities. If the tutorial does not say that this approach wrong then it is a bad tutorial.
    How to use placeholders to bind values in SQL queries
1 Like