MySQL Query Expert Needed

Completed Posted 1 month ago Paid on delivery
Completed

I want to write an SQL script. I have a table named "cash_requests" and another pivot table named "salary_deduction_file_requests". cash_request_id is a column in salary_deduction_file_requests table. by that column, those two tables are linked.

At a certain point in my system, I change the following fields of those two tables as follows:

cash_requests table

------------

status: "pending_salary_deduction" -> "partialy_salary_deducted"

due_amount: null -> 500

number_of_installments: null -> 2

installment_amount: null -> 500

Pivot table (salary_deduction_file_requests)

----------

action: 'salary_deduction_generated' -> 'processing',

I want to reverse the above changes of the results of the following query:

select * from salary_deduction_file_requests where salary_deduction_file_id=8 and action='processing';

This query returns data of the salary_deduction_file_requests table. I want to reverse the above changes in cash_requests table also. You can use the cash_request_id column of the resulted data for that purpose.

I need you to write a SQL statement to do the above reversal.

MySQL PHP SQL Database Administration Software Architecture

Project ID: #38858950

About the project

31 proposals Remote project Active 1 mo ago

Awarded to:

mjanithbandara

With a robust background in MySQL, PHP, Software Architecture, and SQL, I possess the exact skillset required to complete your project. I have a strong track record of designing complex SQL scripts and my proficiency i More

$3 USD / hour
(4 Reviews)
4.3

31 freelancers are bidding on average $8/hour for this job

muhammadhari336

Hi. As an experienced Developer with a focus on Database Administration and MySQL, I have spent many years perfecting my skills in writing efficient, sophisticated SQL queries. Your project requires reverse engineerin More

$8 USD / hour
(26 Reviews)
7.9
gauravmittal1989

Hello dinushae5, I carefully reviewed your project description, and it seems like a perfect match for my skills and experience. I am an experienced developer with a strong background in PHP, SQL, Software Architectur More

$5 USD / hour
(139 Reviews)
7.0
webmantratech

Hello, We are excited to assist with your SQL scripting needs. Our experienced team specializes in crafting precise and efficient database scripts tailored to complex relationships like the one between cash_requests a More

$5 USD / hour
(54 Reviews)
6.7
DeveloperStation

Hi, Hope you are doing well, Having worked extensively with database management and SQL scripting, I can craft a reliable and efficient script for this task. Additionally, I can implement error handling in the script t More

$8 USD / hour
(6 Reviews)
5.5
mobimubasir

Hello. I read your requirement i will do that. Please come on chat we will discuss more about this. I will waiting your reply

$5 USD / hour
(60 Reviews)
5.7
kajalgupta0098

Hi, I will fix your deprecated warning issue in wordpress website. I have great experience in wordpress. Let us connect for further discusion. Thanks & Regards kajal gupta

$5 USD / hour
(81 Reviews)
5.5
angelgrod

Hello, how are you? I've just read your job description and I am excited to apply for this project. With over 10 years of experience building scalable web applications and a proven ability to bridge the gap between fr More

$8 USD / hour
(11 Reviews)
5.0
hossamsoliuman4

As an experienced backend developer specializing in Laravel and MySQL queries, I bring a wealth of expertise to the table. I have a proven track record of creating and implementing complex SQL scripts to solve intricat More

$5 USD / hour
(17 Reviews)
4.6
CodeniaTechno

Hello dinushae5, Our company, Codenia Technologies LLP, with 10+ years of experience in PHP, SQL, and MySQL, has carefully reviewed your project requirement. To reverse the changes in the "cash_requests" table based o More

$5 USD / hour
(3 Reviews)
4.1
vaisu29

To handle the reversal of changes in the "cash_requests" table based on the results of the provided SQL query, I propose crafting a SQL statement that links the "cash_requests" table with the "salary_deduction_file_req More

$5 USD / hour
(1 Review)
3.6
rajat23091969

Hello dinushae5 , We went through your project description and it seems like our team is a great fit for this job. We are an expert team which have many years of experience on Job Skills. Lets connect in chat so that More

$5 USD / hour
(7 Reviews)
4.3
petrob2

-- Reverse the changes in the `cash_requests` table UPDATE cash_requests SET status = 'pending_salary_deduction', due_amount = NULL, number_of_installments = NULL, installment_amount = NULL WHERE id IN More

$35 USD / hour
(1 Review)
2.0
winindicator07

Hello, client! MySQL expert is here. I can meet SQL response speed and other factors. So dont worry about result and dont hesitate contacting me. Plz contact me I`ll wait for u Thanks, in advance

$10 USD / hour
(1 Review)
0.6
rajeshrolen

Dear Client, I have carefully reviewed your project requirements regarding the SQL script to reverse specific changes in the "cash_requests" and "salary_deduction_file_requests" tables. With my expertise in MySQL quer More

$5 USD / hour
(1 Review)
0.2
SyedDigitals

Hello, I understand that you need an SQL script to reverse specific changes made to the "cash_requests" and "salary_deduction_file_requests" tables based on the results of a query. I have expertise in MySQL and can ef More

$4 USD / hour
(0 Reviews)
0.0
runzej7

Hello dinushae5, We would like to grab this opportunity and will work till you get 100% satisfied with our work. We are an expert team which have many years of experience on PHP, SQL, Software Architecture, MySQL, Da More

$5 USD / hour
(1 Review)
0.9
jacobh86

Hello, I can develop a precise and efficient SQL script to reverse the changes made in both the cash_requests and salary_deduction_file_requests tables based on the specified conditions in your query. I will ensure tha More

$2 USD / hour
(0 Reviews)
0.0
tarund24

Hey friend, As an experienced Full Stack Developer fluent in MySQL, I am confident in my ability to meet and exceed your expectations for this project. With a comprehensive understanding of the salary_deduction_file_re More

$8 USD / hour
(0 Reviews)
0.0
IhsanUllah0147

Could you please provide the details about the affected records or if there are any specific conditions for the reversal? To revert the specified changes in both the `cash_requests` and `salary_deduction_file_requests More

$6 USD / hour
(0 Reviews)
0.0
anandk435

I have a strong understanding of SQL and extensive experience in querying, manipulating, and managing relational databases. Proficient in writing complex SQL queries, including SELECT, JOIN, INSERT, UPDATE, DELETE, and More

$5.56 USD / hour
(0 Reviews)
0.0