Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

how to calculate percentage from two virtual columns in sql query

$
0
0

i want to calculate percentage based on the values present in bit type column.Pre='false' for absent and pre='true' for Present

i am able to calculate and display both total classes and attended classes successfully but unable to calculate percentage


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>