I am currently on pset8 and its really giving me a hard time, when not doing pset8 my mind sometimes wander over the ideas for final project, wanna ask like in pset7 we passed querys to select,delete or search for items in the ddatabase tables, can queries b passed to create tables?

1 Answer 1


Yes. There is SQL queries for everything you can do in phpmyadmin, in fact when submitting a query from phpmyadmin you can see the SQL code that will be passed from phpmyadmin to your server. If you ever wonder how to do something else with SQL, know that it's no more than a simple Google search away, for reference, try Google "create a table in sql" and you'll get plenty of possible solutions.

  • I meant creating a new table based on action taken on the website itself, user on the web does something and based on his action a table is created Commented Oct 15, 2016 at 5:47
  • Also possible, when a user does a specific thing, a query like CREATE TABLE IF NOT EXISTS can be made followed by one or more queries that fill the table.
    – kluvin
    Commented Oct 15, 2016 at 9:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .