I have one system (Symfony 5, symfony/messenger) sending data to another (Symfony 3.4, enqueue/enqueue-bundle 0.9) using a rabbitmq queue. The data is used to c
I have a MySQL instance running in a docker container, available on my host system at port 3333. I already tested the connection via the MySQL workbench to veri
I have two columns price and sold_count for the product table. How do write sql query to find the top 3 shops having highest Revenue (calculat
I have installed MySQL with .dmg installation file according to the official page. But it returns command not found: mysql when I execute mysql command. How to
include("src/database.php");#this included file works wll $query=mysqli_query($conn,"SELECT * FROM students limit 1"); $data=mysqli_fetch_assoc($query); echo "m
I have this four tables: One for users, other for professionals, other for patients y another for appointments. I want to get the name of professional from pati
I want to write a SQL Query to fetch 1st rehire, termination date and 2nd rehire, termination dates of employee if employee doesn't having those dates then it w
I want to write a SQL Query to fetch 1st rehire, termination date and 2nd rehire, termination dates of employee if employee doesn't having those dates then it w
I am trying to get my head around the 'On Duplicate Key' mysql statement. I have the following table: id (primary key autoincr) / server id (INT) / member id (I
I am using Prisma and Express.js to make requests to my MySQL database table. I have one-to-many relationship between my Contest-Round tables and am trying to w
Apologies for the long question. I wrote the following R script to upload/append some csv files i get on a regular basis to a MySQL database. The examples files
I installed XAMPP on Ubuntu. MySql-server fails to run properly. I tried many solutions, as suggested by google "/opt/lampp/bin/mysql.server 264 kill no such
There is the schema of my db : And I've got this error message when I try to delete a picture : SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot de
I have a table with: Id (id of rider) Time (is the time that he has done) Session (number session where the time was done) idlap idRider session time 1
Using PHP, I want to generate custom MySQL dump file (due to cannot use exec and a few other reasons). I found these 2 similar solutions: https://www.kvcodes.co
I have downloaded Mysql.data , Mysql.data.entityframework , mysqlconnector and additionally downloaded mysql installer.But Mysql not showing in Visual studio 20
I have a datagridview which I populated thru mysql query Using command As New MySqlCommand("SELECT p_code as 'Prodcut Code', p_name as 'Product Name', filter "
I am looking to get row count to check if same email is already in database or not. i have tried couple of mechanism but no success. when i run my query directl
I want to delete the rows with null values in the column How can i delete it? SELECT employee.Name, `department`.NUM, SALARY FROM employee LE
how can I update multi specific rows in mysql and php ? in the example there are tow rows 50 , 51 I need to update "quantity" and "note" . SN | Medication | Qya