Skip to content

SQL multi query

I need some help to do it right in one query (if it possible). (this is a theoretical example and I assume the presence of events in event_name(like registration/action etc) I have 3 colums: From this 3 columns we need to create new table with 4 new columns: Result must be looks like this: What I’ve don…

how to avoid duplicate entries

I created a form on my website where the user can create an account. I save everything into a database connected to a website. This is how I created a table: CREATE TABLE Customer( CID int(9) not …

SQL Query not displaying correctly

I am running a query and the result is not showing correctly, unfortunately, I am not sure what is the problem. Would anyone be kind enough to provide some assistance please? Query; Result: Answer Your problem is that a field that you select is very big, that’s why it’s shown this way. I’d b…