Skip to main content

Posts

SQL Queries Code Interviews QA 50 plus

Here are SQL-focused interview questions with only the relevant SQL code: 1. Find the second highest salary from an Employee table. SELECT MAX(Salary) AS SecondHighestSalary FROM Employees WHERE Salary < (SELECT MAX(Salary) FROM Employees); Using ROW_NUMBER(): WITH RankedSalaries AS (   SELECT Salary, ROW_NUMBER() OVER (ORDER BY Salary DESC) AS Rank   FROM Employees ) SELECT Salary AS SecondHighestSalary FROM RankedSalaries WHERE Rank = 2; --- 2. Write a query to calculate a running total of sales. SELECT   OrderID,   OrderDate,   Amount,   SUM(Amount) OVER (ORDER BY OrderDate) AS RunningTotal FROM Orders; --- 3. Retrieve customers who placed no orders using a LEFT JOIN. SELECT c.CustomerID, c.CustomerName FROM Customers c LEFT JOIN Orders o ON c.CustomerID = o.CustomerID WHERE o.OrderID IS NULL; --- 4. Write a query to find the top 3 highest salaries. SELECT DISTINCT Salary FROM Employees ORDER BY Salary DESC LIMIT 3; Using DENSE_RANK(): WIT...

Guidewire Related Interview Question and answers part 1

common Guidewire questions and answers 20 Guidewire BC Q&A Top 100 Guidewire Interview FAQ Guidewire Claimcenter 20 Interview Questions Guidewire Rating concepts

SpaceTech Insurance latest trends

The space technology insurance sector is evolving rapidly, driven by increased commercial space activities, technological advancements, and emerging risks. Key trends shaping this industry include: 1. Expansion of Coverage Areas Satellite Insurance: This remains crucial for both governmental and commercial entities, covering various stages from pre-launch to in-orbit operations. Policies typically address launch failures, in-orbit malfunctions, and third-party liabilities.  Launch and In-Orbit Coverage: Insurers offer protection against potential losses during the critical phases of satellite deployment and operation, ensuring financial safeguards against unforeseen events. Personal Accident Insurance for Astronauts: With the rise of human spaceflight and space tourism, there's a growing demand for policies that cover accidents, injuries, or fatalities during missions. 2. Rising Demand Due to Commercial Space Activities Proliferation of Small Satellites: The surge in sm...

Guidewire related collections and references part 1

In this blog post sharing Guidewire related references links from basic concepts to complete all center related topics part 1 1.  Guidewire PC related course link 2.  Guidewire Billingcenter functional documents 3.  Guidewire Gosureference document

SpaceTech Insurance Dataset Creation and Agile Workflow Planning

  Source Code here in kaggle:  SpaceTech_Insurance_Agile_Strories_Dataset V1.0   When we have private agile user stories, we can able to refine the COT / TOT framework related prompt responses more and lot refined and easier eye catching solutions. Concept Overview: SpaceTech Insurance Dataset Creation and Agile Workflow Planning Business Context SpaceTech insurance is an emerging field addressing risks associated with space exploration, satellite launches, and orbital operations. Insurance companies require robust datasets and workflows to assess risks, underwrite policies, manage claims, and ensure regulatory compliance. By creating an agile dataset and workflow planning approach, insurers can streamline operations, improve decision-making, and adapt to the dynamic nature of the SpaceTech industry. Business Research Market Demand: Increased reliance on satellites for communication, GPS, and Earth observation. Growing investments in private space exploration companies li...

Gemma 2B Fine Tuned Lightweight model

 Kaggle Notebook Gemma 2B Fine Tuned Lightweight model Step 1: Configure GPU for Memory Growth python gpus = tf.config.list_physical_devices( 'GPU' ) if gpus: try : for gpu in gpus: tf.config.experimental.set_memory_growth(gpu, True ) print ( "GPU memory growth enabled." ) except RuntimeError as e: print (e) else : print ( "No GPU found. Using CPU." ) Purpose : Ensures the GPU is set to dynamically allocate memory instead of pre-allocating all available GPU memory. This approach prevents memory wastage and allows multiple processes to use the GPU without running into memory allocation errors. Technical Details : tf.config.list_physical_devices('GPU') : Lists available GPUs. tf.config.experimental.set_memory_growth(gpu, True) : Allows TensorFlow to allocate GPU memory on demand. Fallback : If no GPU is found, the code defaults to CPU computation. Step 2: Enable Mixed Precision for Memory Optimizatio...

Space Research - Chain of thoughts, Tree of thought Framework for Research Papers and Practical innovative solution

  Source Code  Kaggle Notebook:  Space Research COT TOT Prompt - Gemma 2B Responses Google Colab:  space-research-cot-tot-prompt-gemma-2b-responses (1).ipynb - Colab   Leveraging Chain of Thoughts (CoT) and Tree of Thoughts (ToT) Models for Space Research and Innovation Subject Details: Introduction to CoT and ToT Methodologies : Overview of Chain of Thoughts (CoT) as a step-by-step reasoning framework. Introduction to Tree of Thoughts (ToT) for multi-branch explorations, allowing parallel evaluation of diverse hypotheses. Applications in Research Paper Development : Enhancing clarity and logical structuring in academic papers. Automating the drafting of hypotheses, problem-solving approaches, and iterative revisions. Innovation in Space Research : Hypothesis generation for challenges like propulsion systems or asteroid mining. Multi-path exploration to cover cost, feasibility, and ethical dimensions of research. Data-driven insights to predict space weather or ...