function allDepartments() {

        db.query('select departments.name, departments.id from departments', function (err, results) {
            console.table(results)
        start();
         
        })
    }
// function to query for the users selection
function to query for the users selection
function to query for the users selection
function allDepartments() {
        db.query('select departments.name, departments.id from departments', function (err, results) {
            console.table(results)
        start();
        })
    }
function allDepartments ( ) { db . query ( 'select departments.name, departments.id from departments' , function ( err , results ) { console . table ( results ) start ( ) ; } ) }
function to query for the users selection
function to query for the users selection