Linked Questions

5 votes
1 answer
29k views

I try to increase John Smith salary by 10% and assume I don't know the emp_number for John Smith. update m set m.mon_hourly_pay_rate = m.mon_hourly_pay_rate*1.1 from monthly_pay m inner join ...
Thien Nguyen's user avatar
4 votes
1 answer
1k views

This is not a duplicate question. The previous question is nothing to do with PDO. I have two tables in mysql: USERS ------------------------------------- employeeid | name | saving | salary --------...
Tempo's user avatar
  • 305
-1 votes
1 answer
591 views

These are my tables: tbl_answers => aid qid answer uid dateposted emailnotify namedisplay status isbestanswer tbl_questions => qid question ...
user2301881's user avatar
0 votes
2 answers
325 views

I have a weather app, and I'm storing meteo data every hour in a database. Recently i discovered a tiny bug which lead to the writing of few hundreds faulty records. To fix the issue i decided to ...
Robdll's user avatar
  • 6,283
0 votes
2 answers
171 views

I've got an error saying that" You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM table_A INNER JOIN table_B ON ...
Kasut Pink's user avatar
0 votes
0 answers
144 views

I am currently doing some exercises to better understand how to use MYSQL. I am trying to update a table that from the select results from two other tables. The general idea is to have the table ...
Osiris L's user avatar
0 votes
0 answers
19 views

I have a database table with thousands of products. Each product have various fields. There is a field (field1) on each product that contain a link, I need that link to be copied to another product ...
mircea nedelcu's user avatar
5 votes
4 answers
10k views

my DB has this structure: ID | text | time | valid This is my current code. I'm trying to find a way to do this as one query. rows = select * from table where ID=x order by time desc; n=0; foreach ...
Francis Snipe's user avatar
2 votes
1 answer
12k views

My knowledge of SQL trully isn't so great to perform what I want. I have 2 tables: One is long data table with many columns, one of them TypeName, recently I've added new column to the table TypeID (...
user2997497's user avatar
6 votes
3 answers
2k views

I have a script which uploads a file and stores the details of the file name in the database. When a document gets uploaded I want to be able to update the name of the file in the database to be ...
andy's user avatar
  • 459
2 votes
1 answer
11k views

I have a Picker, i want to apply different styles to all the items, also prefer if could do for IOS and Android at the same time. in custom.xaml: <ContentPage.Content> <StackLayout&...
ntzz's user avatar
  • 183
1 vote
1 answer
18k views

I have the table TableName which contains approximately 5,000 rows. It consists of a product_id and a ScheduleTime. What I want to do with this table is replace each value of ScheduleTime, ...
Schwann's user avatar
  • 167
5 votes
1 answer
10k views

I need to update over 4 million rows in my database. We are currently using mysql 5.1 and the updates are very slow. At the moment it is taking over 30 minutes for less than 100,000 rows, which is ...
A.Dow's user avatar
  • 105
0 votes
3 answers
7k views

I have a table called downloads which has records of files which have been downloaded from various URL's. There is a column downloads.created which is a DATETIME and a column downloads.master which is ...
Andy's user avatar
  • 5,438
1 vote
1 answer
4k views

Update multiple rows , is using a bulk update a good solution or something like the code below works ? . I supposed wanted to update all the records with the id and filename. I did try to update ...
user avatar

15 30 50 per page
1
2 3 4 5 6