sql - How to fetch multiple rows as single row with field as column in fetched row -


basically table have separate entry various report fields. want fetch report single row in report fields should present column , these fields counts variable every report

please refer image table structure idea , expected output.

enter image description here

please suggest ways fetch data. note : have dont want declare , use procedure or functions.


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -