Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
190 views

I have 2 parent tables (Food, Orders) with one mutual child table (OrderItems) When using a simple insert query: INSERT INTO OrderItems (order_id, food_id, quantity) VALUES (111, 18, 2) I get the ...
Sam's user avatar
  • 21
1 vote
2 answers
101 views

I'm trying to create a new entity "OrderInfo" but sequelize convert the OID attribut to o_i_d when requesting sql OrderInfo class: const { Model, DataTypes } = require('sequelize'); const ...
isidore's user avatar
  • 25
-1 votes
1 answer
798 views

I am trying the combine 12 months datasets into one table, i tried using CREATE TABLE function but i am getting below error- Table "total_bikeshare" must be qualified with a dataset (e.g. ...
Yasmin Fakhruddin's user avatar
0 votes
1 answer
3k views

I`m new in SQL and now straggling with an error 1054 Unknown column in 'where clause' in MySQL. There`s a simple table 'customer_orders' with 3 columns 'order_id', 'staff_id' and 'order_total' I ...
Koteyko's user avatar
0 votes
2 answers
517 views

I have join many tables in this query via LEFT JOIN and i want to apply condition on table but php is giving me following error Error Number: 1054 Unknown column '2021-08-23' in 'on clause' SELECT i....
Laraib's user avatar
  • 17
-1 votes
1 answer
421 views

I have experience an issue about sql command but it was working before, so I couldn't understand. my table is ; CREATE TABLE `cdrConfCall` ( `id` int(11) NOT NULL AUTO_INCREMENT, `...
Orcun's user avatar
  • 83
-1 votes
2 answers
924 views

String SQL_UPDATE = "UPDATE `club_juvenil` SET "+SET_MySQL+" = "+nuevo_valor.getText().toString()+" WHERE dni_competidor = "+wher_combo.getSelectedItem().toString()+"...
Danilo's user avatar
  • 35
0 votes
1 answer
3k views

I have this query in mysql database: INSERT INTO `table1`( `text1`, `text2`, `link` ) SELECT `text1`, `text2``, `link` FROM `table2` WHERE `table1`.`code` = `table2`.`code`; I get an ...
Igor Beuermann's user avatar
0 votes
2 answers
891 views

When running the following query I get a 1054 error stating that the unknown column is 'rct.trial_id' in the field list. But as far as I can tell, my syntax is correct. Any help would be appreciated! ...
kksh1003's user avatar
2 votes
2 answers
1k views

I have a table 'client' where a column 'wipes' is currently filled with Y or N. I want to change Y and N to 1 and 0. I am trying this query and getting the error "Unknown column 'Y' in 'where ...
QuadB's user avatar
  • 55
0 votes
0 answers
48 views

Query: SELECT first_name, last_name, customer_id FROM sakila.customer JOIN sakila.rental USING (rental_id) LIMIT 0, 1000; Error Message: Error Code: 1054. Unknown column 'rental_id' in 'from clause' ...
Aaron Tipton's user avatar
0 votes
1 answer
486 views

Getting this error while inserting data into the table. Error Code: 1054. Unknown column '1' in 'field list' I'm using MySQL Server 5.6.*. I already looked at a lot of threads on StackOverflow and ...
worker's user avatar
  • 103
0 votes
2 answers
4k views

I am constantly getting this Error Even there is not any Syntactical Error shown. I made two table namely 'Customers' and 'Orders' and when i am trying to use FULL JOIN as given below in mySQL ...
Raja's user avatar
  • 21
1 vote
1 answer
882 views

Have looked for any solution but unsuccessfully... The mystery is about body of my few functions. I presented two of them below. They are pretty the same but Fun1 works fine and Fun2 doesn't. The ...
Limak's user avatar
  • 47
0 votes
1 answer
322 views

I'm getting this #1054 -unknown column in order clause error, after I export my database from one hosting with MySql 5.7.23-cll-lve to another hosting with MariaDB 10.2.27-MariaDB-cll-lve. I have both ...
leonardo_palma's user avatar
2 votes
1 answer
112 views

I'm working on a project with the tables c_sent_messages which store sent messages from users, c_passwords which stores passwords for promotions and c_received_messages that stores the sent messages ...
miador's user avatar
  • 368
1 vote
2 answers
7k views

this is my error : A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: templates/sidebar.php Line Number: 24 Backtrace: File: A:\Sites\PHP_CI\hasan-...
Hasan Zahir's user avatar
2 votes
1 answer
594 views

How can I get a column from the top-most parent query in a subquery within a subquery? Do I have to pass it like a variable? Here's my code: SELECT c.in_customer_id, ( SELECT ...
Daniel Harris's user avatar
1 vote
2 answers
4k views

Not sure what's going on with my column name. mysql> SELECT fullname FROM country WHERE year-independence > 1945; ERROR 1054 (42S22): Unknown column 'year' in 'where clause' here is the table ...
user avatar
1 vote
2 answers
408 views

i'm trying to update a mysql db but when i execute the query i get an error where var id (used as filed in WHERE) is used as column name. Am i reading it wrong? what i have to fix to let this work? ...
Vincenzo Aucello's user avatar
0 votes
1 answer
263 views

I need to select countries where unofficial lang-s twice more than official,+ officials are 2+ MYSQL Query: SELECT c2.countrycode , sum(c2.isOfficial) as isFalse FROM countrylanguage as c2 INNER ...
Katrin Mayer's user avatar
1 vote
1 answer
1k views

I have the following MySQL query select keliones_lapas.Vairuot_Id, MONTH(keliones_lapas.Data_darbo), sum(keliones_lapas.uzdarbis) as Got, coalesce(Suma, 0) Suma, (sum(...
Imantas Balandis's user avatar
0 votes
1 answer
39 views

I am trying to combine two tables, S&P2 and Foundation, so that I can transfer information from corresponding rows in S&P2.Tic into Foundation.Ticker. I created this code; however, no matter ...
John Winders's user avatar
0 votes
1 answer
438 views

I have this MySQL query, which is failing every time: update exp_companies set company = 'Some Intermodal Container Company', auth_user = 'Some User', c_code = 'SICC', contact = 'Somes Boss', ph = '...
Mortifis's user avatar
0 votes
3 answers
2k views

INSERT INTO users(`username`, `password`, `location`, `aboutusr`, `gender`) VALUES (`b`,`c`,`d`,`e`,`f`,`h`) The above query returns the error: #1054 - Unknown column 'b' in 'field list'
Imad Eddin's user avatar

1
2 3 4 5 6