Skip to main content
0 votes
1 answer
104 views

My SQL statement in MySQL 5.7.44, Windows 10: drop table if exists test; create table test (col1 VARCHAR(64), col2 VARCHAR(80) ); LOAD DATA LOCAL INFILE "t.csv" INTO TABLE test FIELDS ...
Krischu's user avatar
  • 1,193
-5 votes
1 answer
71 views

I have an SQL table with an id column that uses auto-increment. When I delete a row (e.g., where the id is 6), the IDs of the remaining rows do not change, and there is no longer a row with id 6. How ...
Muhammad Rizwan 067's user avatar
-1 votes
1 answer
96 views

Honestly, I don't understand why I have this error. Someone can help, please? mysql> mysql -u root -p foodly < /Users/gregoireperney/Documents/1-dev/trainings_no_git/sql_foodly_db/partie_2/...
Grégoire Perney's user avatar
0 votes
3 answers
88 views

my name is Marques and desenvolving a flutter project for my end project in school and i'm a little but desesperated with a error that i can't solve . I hope someone could help solving this to could ...
Marques960's user avatar
-3 votes
1 answer
546 views

I just finished installing MySQL 8.0.35 and Python 3.12.0. I added the path to my environment variables. But in my command prompt, I keep getting this error message. Welcome to the MySQL monitor. ...
Leah Oramas's user avatar
1 vote
0 answers
61 views

I've tried to insert data using database and table fields where naming the database uses spaces (this is from my office law). But there is a following error - 'Error Number: 1064 You have an error in ...
IMAM IHSANI's user avatar
0 votes
0 answers
21 views

Hi I want to make a script I can run via cron to update certain columns on a schedule The script command not running it in sh file works fine UPDATE `lines` SET allowed_outputs = '[1,2]'; in the sh ...
Daniel Peters's user avatar
0 votes
0 answers
62 views

WITH team as ( select row_number() over() as id, team_code, team_name from teams ) I got this error :- [12:06:32 WITH team as ( select ...
Kartike Raj's user avatar
1 vote
1 answer
76 views

CREATE PROCEDURE `getTestById`(IN `studID` INT,IN `tID` INT) BEGIN SELECT t.id,t.name,c.name category,i.name instructor,getQuestionsInTest(t.id) questions,ts.startTime,ts.duration,ts....
candycrush007's user avatar
-2 votes
1 answer
89 views

photo of the error `CREATE TABLE IF NOT EXISTS `adminpanel_bans` ( `banid` varchar(50) NOT NULL, `active` int NOT NULL DEFAULT '1', `bannedby` int NOT NULL, `userid` int NOT NULL DEFAULT '0', ...
falcondesign's user avatar
0 votes
0 answers
309 views

I am trying to implement OLAP queries in MySql. Here is a relation that I am trying to implement queries on Cart(product_name,shipper_name,quantity). I tried running the following query: select ...
heavycomder's user avatar
-1 votes
1 answer
130 views

-- creating table create table student( studID int(10), -> name varchar(100), -> roll_no int(20)); --inserting values in table insert into student(name,roll_no) values("suraj"...
Shivam Prajapati's user avatar
-1 votes
1 answer
305 views

This is database. php file: and I am getting fatal error on line 30($result = $stm->execute($data);) The data and query there goes from the read function in the folder named user.class.php and I ...
Oğuzhan Öztürk's user avatar
0 votes
1 answer
190 views

DELIMITER $$ CREATE PROCEDURE insert_priority_rows() BEGIN DECLARE max_heuristics INT DEFAULT 10; DECLARE heuristic_ID INT; DECLARE cur CURSOR FOR SELECT heuristicID FROM heuristics; ...
learning Gatherer's user avatar
-1 votes
3 answers
540 views

the query is CREATE TABLE order( order_id int primary key, customer_name varchar(30) not null, product_name varchar(20) not null, date_ordered date, quantity int, unit_price ...
Kr. SOURAV's user avatar

15 30 50 per page
1
2 3 4 5
110