I am using MySQL Workbench CE for Windows version 5.2.40.
I want to execute the following SQL queries together. However I can only execute the SQL queries by first e
You could use Ctrl+Shift+Enter to run everything with semicolon end.
For Mac ⌘+shift+return
Add a semicolon after each statement:
CREATE TABLE testTable(
Name VARCHAR(20),
Address VARCHAR(50),
Gender VARCHAR(10)
);
INSERT INTO testTable
VALUES
('Derp', 'ForeverAlone Street', 'Male'),
('Derpina', 'Whiterun Breezehome', 'Female');
SELECT * FROM testTable;