SELECT Category, -- Replace with your actual column name for category COUNT(*) AS Count, CAST(COUNT(*) * 100.0 / SUM(COUNT(*)) OVER () AS decimal(10,2)) AS Percentage FROM YourTable GROUP BY Category;Result-------------------------Category Count PercentageM 10 10.0W 90 90.0
Create Table SaveChat ( ChatDate Date , ChatVar varchar(20), ChatName varchar(50), ChatCount Integer, Constraint tb_product_group_PK Primary Key(ChatDate,ChatName) )------------------------------------------------------------------------------------INSERT INTO SaveChat (ChatDate, ChatVar, ChatName, ChatCount) VALUES (@ChatDate, @ChatVar, @ChatName, @ChatCount) ON CONFLICT(ChatDate, ChatName) D..
Error. An error occurred while processing your request. Request ID: Development Mode Swapping to the Development environment displays detailed information about the error that occurred. The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment ..
PatIndex('%[^0-9]%' 로 nums의 3자리가 int형인지 검사하고(참이면 3, 아니면 0) 자기 자신 db를 조인해서 일괄업데이트진행. ________________________________________________________________________________________ Update db set ClsNum == aa from db as A Join ( Select aa, ids from( Select nums as aa, ids from( Select PatIndex('%[^0-9]%', left(VarNums,3) ) as nums , * from db where len(VarNums)>3 ) as AB where aa = 3 ) as ABB ) AS B on A..
// 1. 연결된 ttyUSB Path 확인 usb 1-1.2 // usb 1-1.4 pi@Teon:~ $ dmesg | grep ttyUSB // 2. usb-serial rules 수정 pi@Teon:~ $ sudo nano /etc/udev/rules.d/10-usb-serial.rules SUBSYSTEM=="tty", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", ATTRS{devpath}=="1.2", SYMLINK+="ttyUSBa" SUBSYSTEM=="tty", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", ATTRS{devpath}=="1.4", SYMLINK+="ttyUSBb" // 3. 저장내용..
udevadm info /dev/ttyUSB0
sudo nano /etc/sdg/lxsession/LXDE-pi/autostart
.Net 5 Api return value list all same value Error public class Rca { public string A{ get; set; } public string B{ get; set; } } public List rList() { List RTN = new List(); Rca _RTN = new Rca(); for(int i = 0; i < 10; i++) { _RTN.A = "a" +i.ToString(); _RTN.B = "b" +i.ToString(); RTN.Add(_RTN); } return RTN; } _________________________________ PostMan result: { "A": "a9", "B": "b9", }, { "A": "..
- Total
- Today
- Yesterday
- 암호 마스터키
- 서버 수준의 URN 필터
- Label Text LineBreak in Xaml
- Windows IIS FTP 디렉토리 목록 오류
- Xamarin Firebase Phone Auth
- Xamarin.Ios Firebase Phone Auth
- C# LINQ Left join
- Linux SSH Multi Computer Join
- ClickOnce 인증서 인증기간 변경
- Xamarin SMS OTP Send
- ssl_client_socket_impl.cc
- WPF Scrollviewer in ScrollViwer
- Microcharts
- WPF Textbox
- 연산자 뒤에 피연산자가 없습니다.
- Embeded 한글Font적용
- Xamarin.Forms
- WPF Datagrid Cell Value Change
- FileStream Add Byte
- Xamarin.Ios Firebase Phone SMS OTP Send
- GetCellContent CheckBox Value
- Xamarin.Ios Firebase Phone User Add
- Xamarin Firebase Phone User Add
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- Xamarin reCAPTCHA
- Entry '' has empty native path
- SkiaSharp
- c# Encrypt / Decrypt
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |