What’s involved in deploying the osm data on my own server ??

Is there a cost to use said data

Where would I source the necessary queries to extract the data from the geospatial database that I would have on my own server

I already have my own server with sq dbase so just need to understand the issues mentioned above