Does anyone know which tables/how PXE advertisements are stored in database.

I basically want a query that gives me all system resources with a cleared pxe (unexecuted) advertisement. maybe even filter off the mac i provide.