I want to provide a query to my database that will search if a string exists in Column2(site_id) then put that string in a new table with the value of its befor
![enter image description here][1] I have table called tbl_monthly_leave in below table i am trying to take dates between fromdt to Todate like (Fromdt , Todate