Skip to content
Advertisement

Tag: sqlite

Need help by populating a PrimeReact Tree

I’m trying to populate a PrimeReact Tree with data from sqlite3 database, but it doesnt work. Here is my SQL-Query: I get following JSON-Code: This is OK but i figured out, that the children are not rendered, because there are quotes around the square brackets at the children path – how can i fix this? Answer If initial is your

Update and renew data based on data in other tables

There are 3 tables student, course, and takes as following tot_cred column data in the student table now is assigned with random values (not correct), I want to perform the query that updates and renews those data based on the course’s grade each student has taken. For those students who received F grade will be excluded and those who didn’t

Advertisement