Below is the MySQL
code I am looking to translate mysql
to ms-access
.
Exact help is of course super nice - but better understanding the logic is fine too if it helps me work this out (which would help me in other such queries I want to run)
thank you in advance :)
'''// Law report for //
select
b.bib_id as 'Bib ID',
b.status as 'Bib Status',
// b.created_by as 'Created by',
// b.date_created as 'Date created',
// b.updated_by as 'Updated by',
// b.date_updated as 'Date updated',
h.holdings_id as 'Holdings ID',
h.location as 'Location',
h.call_number as 'Call Number',
i.updated_by as 'Updated by',
i.date_updated as 'Date updated',
n.note as 'Item note'
from ole_ds_bib_t b
join ole_ds_holdings_t h on b.bib_id = h.bib_id
join ole_ds_item_t i on h.holdings_id = i.holdings_id
join ole_ds_item_note_t n on i.item_id = n.item_id
where
h.location like '%Law%' and
n.type = 'nonPublic' and
n.note regexp '^[[:alpha:]]{6}$' and
n.note not in ('folder', 'binder', 'SLAVEX', 'NISORI') and
i.date_updated between '2019-11-01' and '2019-11-31';'''