Skip to content
Advertisement

How to compare database data in php

I want to compare the database data in the php.

This is my table

hospital_payment_data table

cash_receipt_publish table

This is my sql syntax

in this web page result

enter image description here

I Want result

If the date and the amount match or the amount match, I would like to express it as False by comparing the table with the table in cash_receipt_public.

Advertisement

Answer

I think you can use a full join;

EDIT:

In MariaDB, you can use:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement