Questions tagged [table]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

parse error: no such table

I'm currently on week 1 of cs50's SQL course, running into some issues with the exercise. Running the code from both the file and the terminal results in a no such table, despite me already ...
Bryant Rusli's user avatar
0 votes
1 answer
58 views

Pset 7 Houses: Import seems to work but check50 doesn´t agree

I am confuse with this one: The program doesn´t return any error when I run it and if I go to the students table the names are there, but check50 says it imports "[]". Am I at least close to ...
Alejandro Sánchez's user avatar
0 votes
0 answers
2k views

(psycopg2.errors.UndefinedTable) relation "users" does not exist

when i try to load up regster.html i get this error "sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "users" does not exist LINE 1: INSERT INTO users(username,password) ...
beatmaister's user avatar
0 votes
1 answer
83 views

confusion about CSVs and Jinja in pset7--generating a table

I'm deeply confused about how CSV files work in this context. Below is my application.py code and my form.html code; I can't see how to use Jinja to call on the information stored in my CSV file. In ...
Tanishq Kumar's user avatar
0 votes
1 answer
2k views

pset7 - login RuntimeError: no such table: stock

I get an error in the request to /login: Exception raised in application: RuntimeError: no such table: stock [SQL: 'SELECT symbol, SUM(shares) FROM stock WHERE userid = 18 GROUP BY symbol'] (...
Vray's user avatar
  • 1
0 votes
1 answer
98 views

pset7: one "history" table for each user?

In pset7 Finance, for the "History" table, this table will sum up the transactions for EVERYBODY who registered, right ? I understand I can later use SELECT(JOIN) but is there another way to make a ...
Malintzin's user avatar
0 votes
2 answers
63 views

Final Project help with centering html table

I'm currently working on the cs50 Final Project (a website). So I'm printing the data in a sqlite table as an html table for a page of my website. However, my table headers and data sometimes took up ...
Jason_V's user avatar
  • 182
0 votes
1 answer
1k views

Editable html table (PHP, MySQL) - doesn't save changes in database

For my final project, i'm trying to make my html tables editable by users, with updating data in MySQL. I've found in web a few js scripts for such case but no one works as needed. My result - ...
Ivanka D.'s user avatar
0 votes
1 answer
343 views

Pset7 Index not outputting some fields in table

I am in desperate need of help, since the index method is the last method I have left to finish for this pset! So far, my index code works partially - as in, only the values I passed in from my ...
Jason_V's user avatar
  • 182
0 votes
1 answer
168 views

CS50 Pset7 Finance HTML Table Not Aligned

The index table looks pretty good, but the "Price" and "Total" columns in the history table are not aligned with the headers. The code for the two is nearly identical. Here is the code for index....
Patrick Dennis's user avatar
0 votes
1 answer
253 views

new to Python: for loop

I see David using a lot of for loops like this, usually in a table: for (singular variable) in (plural variable) e.g. for registrant in registrants He doesn't actually declare the singular ...
nvs0000's user avatar
  • 179
0 votes
1 answer
194 views

could someone help me with Portfolios table?

hello guys. I am stuck on this table. Could anyone tell me what how to do this table the right way. I do not know what types should i use for every row
Mikhail Vishnevskiy's user avatar
0 votes
1 answer
122 views

Why can't I make this table? It shows an error

The error message is probably wrong. I can't see any mistake where it mentions there is one.
SlowerPhoton's user avatar
2 votes
1 answer
119 views

CSS Table, Table Row Styling

In my CSS document, I have a selector for my leaderboard table. table#leaderboard { some css some css } How would I write CSS for the tr, or td for the leaderboard table? Would it be ...
i_am_david's user avatar
  • 1,211