python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Conditional increment of values in two rows after insert in MySQL
I currently have the following three tables in a football db:
teams(name)
season(name, beginning, end)
game(id, Date, season, hometeam, awayteam, HomeTeamScore, AwayTeamScore)
(hometeam, awayte...

user11626803
Votes: 0
Answers: 2
How can I write an SQL update command using %s in psycopg2 with python
I am new to python, currently learning. So I am using the psycopg2 library to run postgresql query and have an insert command like this:
cursor.execute(
"INSERT INTO test_case (run_id...

Alapan Das
Votes: 0
Answers: 1
SQL UPDATE on with data from same table
I have a next situation with a table, Need to update rows from rows in same table, as you see here:
TABLE
ID
SN
FID
1
12345
1
2
1122
2
3
12345-RG
NULL
4
1122-RG
NULL
I need to UPDATE...
user3128539
Votes: 0
Answers: 1
Mule 4 - Convert Array of strings to single string
I have an array of primary keys that i need for a SQL update statement. My goal here is to NOT loop through each primary key and execute an update statement many times. What i want to do is create a s...
Mark Okane
Votes: 0
Answers: 3