get all the fields from a specific table

def _getFieldsInDB(self, tablename):
		"""get all the fields from a specific table"""
		SQL = 'SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.Columns where TABLE_NAME="%s"' % tablename
	
		array_data = self.execQuery(SQL)
		
		return [x[0] for x in array_data]