SQL Files Extensions - What are sql files and how do I open a sql file?

What are sql files and how do I open a sql file?

File Type Category File Format
.sdf SQL Files Standard Data File